Core by Critic · Python course
Ultimate Core Python
From your first line of code to how Python really works. Read each chapter, run every example in your browser, and practise with questions that are checked on the spot. 16 chapters, 805 runnable examples and 905 questions so far.
Part 0 Start
Part 1 Basics
Part 2 Control flow
54 more chapters are planned
- 16print and formatted output
- 17Standard library tour I: math, random, calendar, time
- 18Mathematics with programs
- 19Functions
- 20Arguments and parameters
- 21Scope and namespaces
- 22Recursion
- 23Functions as values: lambda and closures
- 24Functional tools
- 25Lists I: the basics
- 26Lists II: mutability and aliasing
- 27Lists III: methods, stacks, queues, split and join
- 28Project: simulating a cricket innings
- 29Nested lists, matrices and copying
- 30Tuples
- 31Dictionaries I
- 32Dictionaries II: text processing project
- 33Dictionaries III: building a mini LMS
- 34Sets and frozensets
- 35Comprehensions and generator expressions
- 36Looping like a pro: enumerate, zip, sorted
- 37Speed of built-ins and the collections module
- 38Files I: reading and writing
- 39Files II: file methods, with, pathlib
- 40CSV and JSON
- 41Exceptions in depth
- 42Modules and packages
- 43Virtual environments, pip and uv
- 44Classes and objects
- 45Attributes, methods and properties
- 46Inheritance and the MRO
- 47Composition and abstract classes
- 48The data model: dunder methods (Vector project)
- 49Dataclasses and enums
- 50Iterators
- 51Generators and itertools
- 52Decorators
- 53Context managers
- 54Type hints
- 55Testing with pytest
- 56Logging and debugging
- 57Regular expressions
- 58Standard library tour II: datetime, os, sys, argparse, subprocess
- 59Memory, references and garbage collection
- 60Attribute lookup and descriptors
- 61Metaclasses and how classes are made
- 62Concurrency I: threads and the GIL
- 63Concurrency II: processes and concurrent.futures
- 64Concurrency III: asyncio
- 65Bytecode, performance and profiling
- 66Talking to the web: HTTP and APIs
- 67Databases with SQLite
- 68Code quality and packaging
- 69Capstone project