One key topic to talk about, right from the start, is the Python 2 vs Python 3 discussion.
Python 3 was introduced in 2008, and it’s been in development as the main Python version, while Python 2 continued being maintained with bug fixes and security patches until early 2020.
On that date, Python 2 support was discontinued.
Many, many programs are still written using Python 2, and organizations still actively work on those, because the migration to Python 3 is not trivial and would require a lot of work to upgrade those programs. And large and important migrations always introduce new bugs.
So, you might happen to have to work on Python 2 codebases. This is not the book to start with, then.
But new code, unless you have to adhere to rules set by your organization that forces Python 2 or one of the libraries you must use is not upgraded to Python 3, should always be written in Python 3.
More python tutorials:
- Introduction to Python
- Installing Python 3 on macOS
- Running Python programs
- Python 2 vs Python 3
- The basics of working with Python
- Python Data Types
- Python Operators
- Python Strings
- Python Booleans
- Python Numbers
- Python, Accepting Input
- Python Control Statements
- Python Lists
- Python Tuples
- Python Sets
- Python Dictionaries
- Python Functions
- Python Objects
- Python Loops
- Python Modules
- Python Classes
- The Python Standard Library
- Debugging Python
- Python variables scope
- Python, accept arguments from command line
- Python Recursion
- Python Nested Functions
- Python Lambda Functions
- Python Closures
- Python Virtual Environments
- Use a GoPro as a remote webcam using Python
- Python, how to create a list from a string
- Python Decorators
- Python Docstrings
- Python Introspection
- Python Annotations
- Python, how to list files and folders in a directory
- Python, how to check if a number is odd or even
- Python, how to get the details of a file
- Python, how to check if a file or directory exists
- Python Exceptions