Learning Python
A thorough, hands-on journey from your very first print() to writing idiomatic, well-tested Python — types, control flow, data structures, functions, OOP, generators, decorators, context managers, the standard library, and a capstone project, all runnable in the browser. An original Libre.academy course (© Libre.academy, CC BY-SA 4.0).
- Python
- 148 lessons
- ~30 hours
- Free
- by Fishbones
Learn Python for free on Libre Academy with the Learning Python course: 148 interactive lessons you complete by writing real code in a built-in editor, graded instantly by hidden tests. No paywall, no sign-up — it runs in your browser and the free desktop app.
What you get
- Hands-on lessons with a real editor and instant, test-graded feedback.
- Free and open source — no account required to start.
- Runs in your browser, and offline in the free desktop app.
- Python runs in your browser.
What's inside
- Getting Started
- Variables & Types
- Numbers & Math
- Strings
- Functions
- Booleans & Logic
- Conditionals
- Lists
- Loops
- Tuples & Unpacking
- Dictionaries
- Sets
- Comprehensions
- Scope & Closures
- Errors & Exceptions
- Modules & the Standard Library
- Files & Data (io, csv, json)
- Classes & Objects
- Inheritance & Dunder Methods
- Iterators & Generators
- Decorators
- Context Managers
- Functional Python
- Dataclasses & Type Hints
- Testing & Debugging
- Capstone: Text Adventure Engine