Python Coding for Developers
Learn Python coding through tutorials from basics to advanced.
Browse by topics
Fundamentals
Variables, types, strings, lists, dicts, loops, functions and modules: Python from the first print() call, written for people who are new to programming.
Standard Library
pathlib, collections, itertools, functools, datetime, json, re, logging, subprocess and the rest of the batteries that ship with every Python.
Web Development
Django, Flask and FastAPI: routing, templates, forms, ORMs, authentication and background jobs, from a first view to a production web app.
Data Science
NumPy, pandas, Polars, Jupyter, Matplotlib and seaborn: loading, cleaning, reshaping and plotting data, and turning a notebook into a report.
Machine Learning
scikit-learn, PyTorch and Hugging Face: features, training, evaluation and serving, from a first regression to a fine-tuned model.
Automation
Scripts, command-line tools, file and spreadsheet chores, web scraping, scheduling and gluing APIs together: Python as the tool that does the boring work.
Testing
pytest, fixtures, parametrising, mocking, coverage, Hypothesis and tox or nox: tests that catch regressions without slowing you down.
Concurrency
asyncio, tasks and event loops, threads, multiprocessing, concurrent.futures and the free-threaded build: doing many things at once in Python.
Packaging
pip, venv, uv, Poetry, pyproject.toml, wheels and publishing to PyPI: managing environments and shipping code other people can install.
Data Structures
Lists, dicts, sets and tuples in depth, then stacks, queues, heaps, linked lists, trees and graphs, and choosing the right one in Python.
Algorithms
Sorting, searching, recursion, trees, graphs, dynamic programming and Big-O, written in clear Python for learning and for coding interviews.
Performance
Profiling with cProfile and py-spy, memory, data structures that scale, vectorising, Cython, Rust extensions and the CPython internals that explain the speed.
Get new posts by email
We send one email when a new post is published. No spam.