← Languages

Python

Full course · 21 lessons

The most versatile language in the ecosystem. Python powers data science, machine learning, backend systems, automation, and scripting. These are the definitive free resources — vetted, current, and complete.

Knowledge Course
01

Getting Started with Python

Install Python, set up a dev environment, understand the interpreter and REPL, and write your first program.

45 min
02

Variables, Types, and Basic Operations

Python's dynamic type system, primitive types, variables, numbers, strings, operators, and type conversion.

60 min
03

Control Flow: Conditionals and Loops

if/elif/else, for loops, while loops, match statements, and loop control with break/continue/else clauses.

60 min
04

Functions and Scope

Function definitions, parameters, return values, scope rules, lambda expressions, and annotations.

75 min
05

Lists, Tuples, and Sequences

List operations, comprehensions, tuples, slicing, and the sequence protocol.

60 min
06

Dictionaries and Sets

Dictionary operations, set theory, hash tables, and when to use each collection type.

60 min
07

Strings, Formatting, and Text Processing

String methods, f-strings, formatting, Unicode encoding, and text processing patterns.

60 min
08

File I/O and Exception Handling

Reading/writing files, context managers, try/except/finally, custom exceptions, and data persistence.

60 min
09

Modules, Packages, and Virtual Environments

Import system, module creation, packages, virtual environments, and pip dependency management.

60 min
10

Classes and Object-Oriented Programming

Class definitions, inheritance, polymorphism, special methods, dataclasses, and OOP design patterns.

75 min
11

Generators, Iterators, and Context Managers

Iterator protocol, generators with yield, generator expressions, itertools, and context managers.

60 min
12

Decorators and Closures

Closures, function decorators, decorator factories, class decorators, and practical decorator patterns.

60 min
13

Advanced Functions: Lambdas and Functional Tools

Lambda functions, map/filter/reduce, functools, itertools, and functional programming patterns.

60 min
14

Regular Expressions

Regex syntax, pattern compilation, groups, lookahead/lookbehind, and text processing with the re module.

60 min
15

Testing and Debugging

Unit testing with unittest and pytest, debugging with pdb, and logging best practices.

75 min
16

Working with JSON, CSV, and APIs

JSON handling, CSV processing, REST APIs with requests, data validation, and pipeline patterns.

75 min
17

Concurrency with Threading and Multiprocessing

Threading, thread safety, the GIL, multiprocessing, and choosing the right concurrency model.

75 min
18

Async/Await and Asyncio

Coroutines, async/await, event loop, tasks, futures, and async I/O with asyncio and aiohttp.

75 min
19

Pythonic Patterns and Idioms

EAFP vs LBYL, duck typing, property decorators, descriptors, context manager patterns, and SOLID in Python.

60 min
20

Metaprogramming and Advanced Features

Metaclasses, class decorators, __init_subclass__, __set_name__, and dynamic attribute access.

75 min
21

Performance: Profiling, Optimization, and C Extensions

Profiling with cProfile, optimizing hot paths, using Cython, Numba, and when to drop to C.

75 min
Curated Resources