Python Guide

Python is a good first language and a durable one: its syntax stays out of the way, and the same skills carry into web development, scripting, data analysis and automation. A sensible path starts with the core: variables and data types, control flow, functions, and the built-in collections (lists, dictionaries, sets and tuples). After that come object-oriented programming, working with files and dates, and a few intermediate features, such as decorators and type annotations, that appear in nearly every professional codebase.

When the basics feel natural, pick a direction rather than trying to learn everything. Django and Flask or FastAPI cover web apps and APIs, Beautiful Soup and Selenium cover scraping and browser automation, and PyQt covers desktop interfaces. Building a small project in the area that interests you teaches more than another round of exercises.

The reading list is grouped to match: the core language first, then object-oriented and intermediate topics, web development, and finally automation and tooling. Many of the core articles are short reference-style pieces, so they work well as something to return to while you code. Check the date on framework tutorials, because Python web frameworks release new major versions regularly.

Reading list

The core language

Data types, collections, loops and functions.

Object-oriented and intermediate Python

Classes, decorators, type annotations, regular expressions and dates.

Web development

Django, Flask and FastAPI tutorials, including deployment.

Automation, tooling and more

Text summarization, web scraping, browser automation, editors and desktop interfaces.

Want more? Browse every article in the Python category.