Python Unlocked
A complete Python journey — from your first install through data types, OOP, testing, concurrency, and production deployment. Each post builds on the last, turning a simple unit converter into a fully tested, containerized application.
Python Masterclass 2026: Install, Configure, and Write Your First Real Program
A complete practical start to Python — install the current toolchain, understand how the language actually runs, and build your first working program from day one, not just a print statement.
Python Data Types: strings, int, float, bool, None — and Why They Matter
Python's type system determines what your code can do and how it silently fails — a complete guide to every core data type, real behavioral quirks, and the type-related bugs that trip up even experienced developers.
Python Control Flow: if/elif/else, for Loops, while, and List Comprehensions
Every real program needs to make decisions and repeat work — a complete guide to Python's conditional and looping constructs, including the exact patterns that separate working code from idiomatic Python.
Python Functions: Parameters, Return Values, *args, **kwargs, and Scope
Every conversion in the unit converter repeats the same arithmetic pattern with no way to reuse it elsewhere — functions are how you stop copy-pasting logic and start building software. A complete guide to defining, calling, and correctly scoping Python functions.
Python Data Structures: lists, dicts, sets, tuples — With Time Complexity Guide
Choosing the right collection type is one of the highest-leverage decisions in Python — a complete guide to lists, tuples, dictionaries, and sets, with the time complexity differences that determine whether your code scales.
Python OOP: Classes, Instances, Inheritance, and When to Use Each
Functions and dictionaries handle logic and data separately — classes bundle both together into independent, reusable objects. A complete guide to Python's object-oriented features, including exactly when a class is the right tool and when it isn't.
Python Modules and Packages: Import System, Virtual Environments, pip
The unit converter has been living in a single file since Post
Python File I/O: Reading/Writing Files, JSON, CSV, pathlib
Every program in this series has lost all its data the moment it closes — real software needs to persist information between runs. A complete guide to reading and writing files, JSON, CSV, and the modern pathlib approach to file paths.
Python APIs: requests, REST, Authentication, and Practical Integration
Every program in this series so far has been entirely self-contained — real software constantly talks to the outside world. A complete guide to making HTTP requests, working with REST APIs, handling authentication securely, and parsing responses using everything learned about JSON.
Python Testing: pytest, Unit Tests, Mocking, and Test-Driven Development
Every function built across this series has been verified by eyeballing printed output — that does not scale, and it does not catch regressions when code changes later. A complete guide to pytest, writing real unit tests, mocking external dependencies like API calls, and the basics of test-driven development.
Python Debugging: pdb, logging, profiling, and the Scientific Method
A test failure or a mysterious wrong number doesn't tell you why — it tells you that something is wrong. A complete guide to systematically finding the actual cause, using pdb, proper logging instead of scattered print statements, and the scientific method applied to code.
Python Performance: Profiling, cProfile, Optimization, and When Not To
This post has been promised since Post
Python in Production: Packaging, Docker, Configuration, and Logging
The unit converter has run with `uv run main.py` since Post
Modern Python 2026: New Features, Tooling (uv, ruff), and What's Next
This series started with `python3 --version` and a single print statement. It ends with a fully packaged, tested, containerized application. The final post covers what's actually new in Python 3.12–3.14, introduces ruff to complete the modern toolchain, and closes out the unit converter's full 20-post journey.