What's included
Eight lessons: installing Python and running your first script; variables, text and f-strings; lists and loops; decisions and your own functions; files and folders with pathlib; renaming files safely; reading and writing CSV files; and a final project — a script that sorts any messy folder into sub-folders by type.
Eight exercise files with TODOs to fill in, an automatic checker that runs 44 tests against your code (in temporary folders, so your own files are never touched), sample data, a finished solution for every exercise, and a short quiz in each lesson.
How it works
Read a lesson in your browser, open the matching exercise in any code editor, fill in the gaps, and run python3 check.py 3 to see which tests pass. Lesson 1 walks you through installing Python on Mac or Windows. Everything uses Python's standard library — no extra packages.
Safety is built in from the start: every script that changes files does a dry run first and never overwrites anything.
License
Personal use — work through the course and use your scripts in your own work. Reselling or redistributing the course itself isn't permitted. Includes free lifetime updates.
