Python fundamentals
Syntax, types, control flow, functions, and the standard library essentials.
Structured tutorials from your first print() to data handling,
object-oriented code, and small real-world projects. Written for beginners,
useful as a refresher for experienced developers.
# Your first Python program def greet(name): return f"Hello, {name}!" for person in ["Ada", "Guido", "you"]: print(greet(person))
Follow a path or jump to any lesson — everything stays free.
Syntax, types, control flow, functions, and the standard library essentials.
Files, JSON, CSV, list comprehensions, exceptions, and modules.
CLI tools, simple web scrapers, and automation scripts step by step.
Sign in to save progress and unlock practice exercises.
Install Python, use the REPL, and run your first script.
Numbers, strings, booleans, and f-strings.
if/else, for, and while loops.
Define functions, import modules, and read docstrings.
Indexing, slicing, and common collection patterns.
Text files, context managers, and path handling.
try/except, raising errors, and debugging tips.
Objects, attributes, methods, and __init__.
No. The Basics track assumes zero knowledge and builds up gradually with examples you can run locally.
Examples target Python 3.10+ (tested on 3.12). We note differences when they matter for beginners.
Yes. All lessons are free to read. Create an account to track progress and access member exercises.
Access saved progress and practice exercises.