Exploring the MVC Pattern in Python
Learn how the Model-View-Controller pattern organizes Python web apps, then build a small Flask app using models, views, and controllers.
Curated development tutorials from top sources. Filter by language.
Learn how the Model-View-Controller pattern organizes Python web apps, then build a small Flask app using models, views, and controllers.
Explore a dataset with pandas: load a CSV, select rows and columns, query and group your data, handle missing values, and plot what you find.
Test your understanding of the Model-View-Controller pattern and how models, views, and controllers work together in a small Flask app.
Python 3.15 gets a surprise RC3, the first Packaging Council is elected, Polars 2.0 and SQLAlchemy 2.1 arrive, and AI APIs break Python code again.
Test your understanding of Python's http.server module. Serve files with one command, run CGI scripts, and encrypt the connection with HTTPS.
Learn how to install Python on Windows, macOS, and Linux, check your version, and pick the best installation method for your system.
Work with Python strings using a rich set of operators and functions: string literals, the str() function, and the methods you'll use most.
Check your understanding of Python's collections module and the specialized container data types it provides, from namedtuple to ChainMap.
Python tips for beginners: the learning strategies and habits that take you from your first script to code you're proud of.
Explore the Python basic data types built into the language: numbers, strings, bytes, and Booleans, and how each one behaves.
Test your understanding of operator and function overloading in Python. Practice the dunder methods that make your classes work with built-ins.
Practice the Python turtle library: move the pen, draw and fill shapes, set colors, and repeat moves with loops. Check what you know in 10 questions.
Python 3.15 is (almost*) here! Christopher Trudeau and Bartosz Zaczyński return to discuss the new version. Bartosz coordinated the series of preview
Test your understanding of Pygame by working through questions on surfaces, the game loop, sprite groups, collision detection, and frame rate.
Watch Real Python's YouTube videos right here on the site, with the resources mentioned in each video and a full transcript.
Learn what's new in Python 3.15, from lazy imports, frozendict, and sentinels to a sampling profiler and friendlier error messages.
Test your understanding of Flask web apps: routes, request data, escaping user input, and deploying a Python script to Google App Engine.
Test your knowledge of Python 3.15's new features, from lazy imports, frozendict, and sentinels to TypeForm, Tachyon, and UTF-8 by default.
Explore the new features in Python 3.15, including lazy imports, frozendict, sentinel values, a sampling profiler, and a faster JIT.
Test your grasp of building LLM apps in Python, from calling model APIs and prompting to RAG, AI agents, and MCP.