← All courses

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's part of the free, open-source desktop app for macOS, Windows and Linux.

What you get

  • Hands-on lessons with a real editor and instant, test-graded feedback.
  • Free and open source, with no account required to start.
  • Works offline in the free desktop app for macOS, Windows and Linux.
  • Python runs instantly in the app.

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

Download to start Learning Python →   More free Python courses

Helpful reading

Why passive video doesn't make you a programmer  ·  Bring Your Own Book: turning any PDF into a course