Pylerno
English

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 lesson
07Stages
96Lessons

Run 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.

Open lessons (6)
  1. Introduction
  2. Installation and setup
  3. Windows installation
  4. macOS installation
  5. Linux installation
  6. Your first program

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.

Open lessons (16)
  1. Syntax and indentation
  2. Variables
  3. Types and conversion
  4. Input and output
  5. Arithmetic
  6. Boolean logic
  7. Strings
  8. Indexing and slicing
  9. Text methods
  10. String formatting
  11. Conditional statements
  12. Pattern matching
  13. For loops
  14. While loops
  15. Loop control
  16. Nested loops

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.

Open lessons (19)
  1. Lists
  2. List operations
  3. Tuples
  4. Sets
  5. Dictionaries
  6. Dictionary patterns
  7. Nested data
  8. References and copying
  9. Iteration helpers
  10. Comprehensions
  11. Defining functions
  12. Parameters and defaults
  13. Flexible arguments
  14. Scope
  15. Pure functions
  16. Functions as values
  17. Calculator
  18. Grade report
  19. Word analyzer

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.

Open lessons (20)
  1. Classes and instances
  2. Data classes
  3. Composition and inheritance
  4. Exceptions
  5. Validation
  6. Debugging
  7. Type hints
  8. Testing basics
  9. Modules and imports
  10. The main guard
  11. Virtual environments
  12. Project configuration
  13. Paths
  14. Text files
  15. Bytes and encoding
  16. JSON
  17. CSV
  18. Dates and times
  19. Your first local project
  20. Expense reports

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)
  1. Algorithms
  2. Regular expressions
  3. Iterators
  4. Generators
  5. Collections and itertools
  6. Decorators
  7. Context managers
  8. Recursion
  9. Numbers and randomness
  10. Inheritance and method resolution
  11. Descriptors and attribute lookup
  12. Structural typing with protocols
  13. Generics and relationships between types
  14. Object lifetime and weak references
  15. Equality, hashing, and dictionary keys
  16. Unicode text and normalization
  17. 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.

Open lessons (12)
  1. Pytest
  2. Linting and type checking
  3. Git workflow
  4. Logging
  5. HTTP and JSON
  6. SQLite
  7. Asynchronous Python
  8. Profiling and caching
  9. Subprocess arguments
  10. Command-line interfaces
  11. Task groups and cancellation
  12. Threads, shared state, and locks

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.

Open lessons (6)
  1. TaskFlow capstone
  2. Package a command-line application
  3. Test a complete command
  4. Run checks on every change
  5. Design a transaction and test its rollback
  6. Release and maintain a Python package

Search documentation

Share this page