Python 3
The current Python: syntax, collections, functions and files.
💡
This course has 5 lessons. Start with the first one and use the next / previous links at the bottom of each lesson — the sidebar keeps the whole course in order.
Lessons
- Python: getting startedRunning Python, indentation as syntax, variables, and the built-in types you touch in every script.
- StringsSlicing, f-strings, the methods you actually use, and why joins beat concatenation in loops.
- Lists, dicts and comprehensionsSlicing, mutability gotchas, comprehension syntax, and choosing the right collection for the job.
- Functions and modulesArguments, returns, scoping, lambdas, and organizing code into importable modules.
- Errors, files and virtualenvsReading tracebacks, using context managers safely, handling JSON, and keeping dependencies isolated.
More in Python & Data Science
NumPy pandas Matplotlib Jupyter Notebook Flask
Last refreshed 2026-09-17.