You already program, so you do not need to be told what a loop or a function is. This route skips the lessons that teach ideas you already know and keeps the ones that cover how Python does things differently: its truthiness rules, slicing, unpacking, comprehensions, argument passing, exceptions, classes, generators, decorators and tooling.
The full course is about 21.4 hours. This route keeps 52 lessons (about 14.7 hours) and lets you skim 20 (about 6.7 hours). Skipped lessons stay available, and you can open any of them at any time.
What is different in Python
Each row shows an idea you know from other languages, the Python way, and a short example with its real output.
Variables and types
Elsewhere: Variables are declared with a type and the type is fixed.
In Python: A variable is just a name for a value. The type belongs to the value, so the same name can refer to different types over time.
x = 5
x = "five"
print(type(x).__name__, isinstance(x, str))
In Python: Any value can be a condition: 0, None, empty text and empty containers are falsy. and/or return one of their operands, not just True or False.
print(bool([]), bool("0"), [] or "default", 0 and 5)
Elsewhere: Check first, then act (look before you leap).
In Python: Python prefers to try the operation and handle the failure. try/except/else/finally is the full form; raise your own exceptions with built-in or custom classes.
Elsewhere: Declared fields, access modifiers, getters and setters.
In Python: self is explicit, fields are created by assignment, and privacy is a naming convention (_name). Dunder methods such as __repr__ and __eq__ plug your class into the language.
Elsewhere: Build tools, XML project files and separate test frameworks.
In Python: Each project gets a virtual environment (venv) and uses pip. Tests are plain functions with assert, run by pytest. A pyproject.toml describes how to build and install the project.
One click marks the 20 skimmable lessons below as skipped (they show a ↷ on the course page). Lessons you have already completed are left alone, and nothing is deleted.