What this book covers
Chapter 1, The Fundamentals of Python, looks at the Python language and how it differs from other languages, and covers how to install and use the interactive Python console, commenting code, running Python programs, and alternative programming shells.
Chapter 2, Data Types and Modules, covers how Python code is structured, common data types and their methods, and how to import and work with Python modules.
Chapter 3, Logic Control, discusses conditional tests using if...else statements, repetition using loops, and error handling with exceptions.
Chapter 4, Functions and Object-Oriented Programming, looks at optimizing code reuse with functions and objects. Classes, methods, namespaces, and Python properties are also ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access