Advanced · Included in Ascent
Closures and decorators, functools and itertools, modern type hints and generics, protocols, enums, pattern matching, advanced dataclasses, the iterator protocol, context managers, generator pipelines, asyncio and performance. The capstone is a production-style alert engine.
You've joined Halcyon Labs in Oslo, which turns millions of weather-sensor readings a day into alerts for airports, ferry operators and farms. Kari, a staff engineer, reviews your work and expects code that's correct, typed, fast and easy to change.
Closures, decorators, decorator factories, functools and itertools.
Modern type hints and generics, protocols, enums, pattern matching and advanced dataclasses.
The iterator protocol, context managers, pipelines, asyncio and performance, then the capstone.
Pass every lesson and the capstone, then the 15-question final quiz, to earn your Python Advanced certificate with a link anyone can verify.
What is a forward deployed engineer? Skills, daily work and how to become one
Forward deployed engineers build software with customers, inside systems they didn't design. What the role involves, the skills it takes and how to become one.
What is a quant developer? Skills, daily work and how to become one
Quant developers build the data pipelines, backtesters, risk systems and execution tools that trading firms run on. What the role involves, the skills it takes and how to start.
Backtesting pitfalls in Python: lookahead bias, overfitting and survivorship
Why most backtests look better than reality: lookahead bias, missing costs, overfitting and survivorship bias, with Python examples of each and how to fix them.
How to become a Python developer: a realistic roadmap
What a junior Python developer actually does, the skills employers check, the order to learn them in, and how to prove you can do the job without a degree.
Python interview questions for junior developers (with answers)
The Python questions juniors actually get asked: predicting output, mutable defaults, generators, decorators, the GIL, testing and code review, with short answers and why they matter.
Big-O in practice: amortised cost, worst cases and memory
What Big-O tells you on the job: the costs of common operations, amortised O(1), inputs that trigger the worst case, memory as a cost, and when to measure instead of guessing.
Python dataclasses, enums and datetimes: modelling a business domain
Model real business data in Python with dataclasses, frozen value objects, StrEnum for fixed choices, type hints checked by mypy, and timezone-aware datetimes.
Python generators and iterators, explained with real examples
How iteration works under the hood, how yield turns a function into a lazy generator, how pipelines process files bigger than memory, and the exhaustion trap that catches everyone.
Python decorators explained: from @ syntax to retry and caching
What a decorator really is, how to write one with functools.wraps, decorators that take arguments like @retry(3), and when lru_cache helps or quietly serves stale data.
Python context managers: how with works, and how to write your own
What the with statement guarantees, __enter__ and __exit__ step by step, the contextlib shortcut, and why returning True from __exit__ silently swallows errors.
SQL injection in Python: why f-strings break your queries (with sqlite3)
How building SQL with f-strings crashes on a name like 's-Hertogenbosch and lets attackers rewrite your query, and how parameterised queries in sqlite3 fix both.