Tutorial series
Python from zero
Install Python 3.15, manage packages, work with files and APIs, and test your code.
How to Install Python 3.15 and Run Your First Script
You will install uv 0.13 from a checksum-verified release on Ubuntu 26.04, use it to install Python 3.15 next to the system Python, and write and run your first script.
Beginner · 12 min
How to Use Virtual Environments and Install Packages in Python
You will create an isolated Python 3.15 environment for a project, install a package into it with pip, record the exact versions, rebuild the environment from that record, and then manage the same project with uv.
Beginner · 14 min
How to Read and Write Files and JSON in Python
You will read and write text files with pathlib, convert Python data to JSON and back, and use both to build a small task list that keeps its data in a JSON file and survives a damaged file.
Beginner · 16 min
How to Call a Web API from Python with httpx
You will install httpx 0.28, write a small local API to practise on, then call it from Python by fetching JSON, add query parameters and a reusable client, handle bad statuses, timeouts and network failures, send JSON in a POST request, and make several requests at once with async code.
Beginner · 18 min
How to Write and Run Tests in Python with pytest
You will install pytest 9.2 in a uv project, write tests for a small price-parsing module, run many cases from one test with parametrize, read a failure and fix the code, and use a fixture that gives each test its own temporary folder.
Intermediate · 18 min