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

  1. Python: getting startedRunning Python, indentation as syntax, variables, and the built-in types you touch in every script.
  2. StringsSlicing, f-strings, the methods you actually use, and why joins beat concatenation in loops.
  3. Lists, dicts and comprehensionsSlicing, mutability gotchas, comprehension syntax, and choosing the right collection for the job.
  4. Functions and modulesArguments, returns, scoping, lambdas, and organizing code into importable modules.
  5. 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.