Written notes on Python, starting from nothing and building up.
Most material out there either assumes you already know things, or buries the point under twenty minutes of video. These notes are short, direct, and built around actually doing the exercises.
- Introduction
- Week 1
- Week 2
- Week 3 More added as they are written.
Read the notes, then do the exercises without looking at the solutions. Getting stuck is the part that teaches you.
Every code example here runs. If one does not, open an issue.
The only reason I made this repository is that I did not like how other repositories and Python tutorials were put together, videos and interactive courses included. With the exception of a few good books, they are not built to make the information stick. So I took my own approach to it, in the hope of helping someone who was once in the same position I was.
It is highly unlikely that anyone will read this and actually study from it. But if you do, I hope you find it useful, and that you enjoy learning from it as much as I enjoyed making it.
New lessons will go up weekly in my spare time, until I eventually stop somewhere down the line.
These notes are built from the books below, along with my own exercises and material found around the internet.
Read in this order.
| # | Book | Author | Level |
|---|---|---|---|
| 1 | Python Crash Course | Eric Matthes | Beginner |
| 2 | Automate the Boring Stuff | Al Sweigart | Beginner |
| 3 | Python Testing with pytest | Brian Okken | Beginner to intermediate |
| 4 | Robust Python | Patrick Viafore | Intermediate |
| 5 | Fluent Python | Luciano Ramalho | Intermediate to advanced |
| 6 | Architecture Patterns with Python | Percival and Gregory | Advanced |
| 7 | Designing Data-Intensive Applications | Martin Kleppmann | Advanced |
Automate the Boring Stuff is free online. Designing Data-Intensive Applications is not a Python book, but it is the best book on building real systems that I know of.
- Real Python - written tutorials
- The official Python documentation
All exercises and labs here are my own. Where a book's idea inspired one, it is credited in that week's notes.