Beginner Professional
Python learning path
Begin with an empty file. Finish by releasing a tested Python application. Follow the stages in order, or jump to the first checkpoint you cannot yet complete.
Start the first lessonRun your first program
Read the introduction, open setup, and choose the installation guide for your operating system. Then run the first program.
Ready to move on? Save a .py file, change its message, and run it again from your terminal.
Make decisions and repeat work
Start with values, arithmetic and text. Use comparisons to choose a branch and loops to repeat a calculation.
Ready to move on? Predict every line printed by a loop, including what happens when its condition first becomes false.
Turn data into useful functions
Organize values in collections, then pass them into functions. Apply both ideas in the calculator, grade report and word analyzer.
Ready to move on? Give your word analyzer a sentence with repeated words and explain how it counts them.
Build projects that handle real files
Split a program into modules, validate input, and test its behavior. Read and write files before building the expense report.
Ready to move on? Feed the expense report a file with a bad row. Identify that row and verify the totals for the valid rows.
Understand how Python works
Trace iteration, object lookup and type relationships. Use small examples to examine text, numerical precision and object identity.
Ready to move on? Show why rounding each invoice line can produce a different total from rounding the final sum.
Open lessons (17)
- Algorithms
- Regular expressions
- Iterators
- Generators
- Collections and itertools
- Decorators
- Context managers
- Recursion
- Numbers and randomness
- Inheritance and method resolution
- Descriptors and attribute lookup
- Structural typing with protocols
- Generics and relationships between types
- Object lifetime and weak references
- Equality, hashing, and dictionary keys
- Unicode text and normalization
- Decimal arithmetic and rounding policy
Test, connect and measure
Use tests and Git to make changes safely. Work with HTTP, SQLite and concurrent tasks, then measure what makes a program slow.
Ready to move on? Write a failing test, repair the problem, and use a measurement to check a performance claim.
Ship and maintain TaskFlow
Run the capstone application, build its package, test it across process boundaries and prepare an automated release check.
Ready to move on? Install the wheel in a clean environment and prove that the new release can still read a task saved by the previous version.