I lead Python developer education at Real Python as Head of Content Strategy and I still teach hands-on. Below are the tutorials and video courses I’ve authored for a community of more than a million developers, alongside some earlier writing from my Medium days (2017–2018). Newest first.

How to Join Strings in Python

In this tutorial, you’ll learn how to use Python’s built-in .join() method to combine string elements from an iterable into a single string with a specified separator. You’ll also learn about common pitfalls, and how CPython makes .join() work efficiently.

[Read on Real Python →]

Python News Roundup: December 2024

This month brings exciting updates, including improvements to template strings in PEP 750 and the release of Python 3.14.0a2. There are new features to explore in many third-party libraries, such as Pydantic. Also, PyCon’s call for proposals deadline is near and the popular Advent of Code is back.

[Read on Real Python →]

Basic Input and Output in Python

In this tutorial, you’ll learn how to take user input from the keyboard with the input() function and display output to the console with the print() function. You’ll also use readline to improve the user experience when collecting input and to effectively format output.

[Read on Real Python →]