Table of Contents
Introduction
Preface
Introduction to Python
Installing Python
Running Python programs
Python 2 vs Python 3
The basics of working with Python
Data types
Operators
The Ternary Operator
Strings
Booleans
Numbers
Constants
Enums
User Input
Control statements
Lists
Tuples
Dictionaries
Sets
Functions
Objects
Loops
Classes
Modules
1
The Python Standard Library
The PEP8 Python style guide
Debugging
Variables scope
Accept arguments from the command line
Lambda functions
Recursion
Nested functions
Closures
Decorators
Docstrings
Introspection
Annotations
Exceptions
The with statement
Installing 3rd party packages using pip
List comprehensions
Polymorphism
Operator Overloading
Virtual Environments
Conclusion