Real Python
banner
realpython.com
Real Python
@realpython.com
Online #Python Training & Expert Community: Tutorials, Video Courses, Books, Quizzes...and More! Join 1M+ Pythonistas at http://realpython.com
Is 7 the same as "7" in Python? No. One is a number, the other is text.

Type type(7) and Python tells you which kind of value it is. int("7") turns the text into a number.

realpython.com/python-data-...
Basic Data Types in Python: A Quick Exploration – Real Python
Explore the Python basic data types built into the language: numbers, strings, bytes, and Booleans, and how each one behaves.
realpython.com
November 3, 2026 at 12:00 PM
Your AI coding assistant wrote 200 lines in a minute. How long does it take you to check them?

This free cheat sheet is for that review step, so you know what to look at first. It comes as a PDF 👇

realpython.com/bonus/review...
November 3, 2026 at 5:00 AM
A shop's order email crashes before it sends. Customers never get their receipt.

Your job: fix it so they get a readable email, HTML where their mail app supports it, with the PDF attached.

Think you can?

realpython.com/python-send-...
November 3, 2026 at 4:00 AM
Want ChatGPT inside your own Python app, not in a browser tab?

In this video course you use the openai library to send a prompt, set how the model should behave with a developer message, and get code back you can adapt.

realpython.com/courses/leve...
November 3, 2026 at 3:00 AM
Sending JSON with Requests? Pass it to json=, not data=.

data= sends form-encoded data instead.

The guide also covers timeouts, sessions and retries for when that API call starts failing at 2 a.m.

realpython.com/python-reque...
November 3, 2026 at 2:00 AM
"I don't want an AI rewriting my project while I'm not looking."

Claude Code shows each edit as a diff and waits for your yes.

The tutorial adds the habits around it: plan first, review every change, commit often.

realpython.com/how-to-use-c...
November 3, 2026 at 1:00 AM
You know Python. Now you want an AI project in your portfolio that isn't another chatbot clone.

Call a model → feed it your own documents → turn it into an agent that uses tools.

That's the order this learning path follows.

realpython.com/learning-pat...
November 3, 2026 at 12:30 AM
Not sure if Python is already on your laptop?

Open a terminal and type python --version or python3 --version. A number means you're set. If not, this guide walks you through installing it on Windows, macOS or Linux.

realpython.com/installing-p...
November 2, 2026 at 11:12 PM
Learning a new tool from docs alone is slow. In Codex for Python Developers, you learn Codex live with a Real Python instructor, ask questions as you go, and leave with a workflow you can use on Monday. Nov 14–15: realpython.com/workshops/co...
November 2, 2026 at 10:02 PM
Your script asks yes or no. Users type yes, Y, no! and yeah.

Jev is a new AI model that reads those replies for you, so you skip an if for every spelling.

realpython.com/jev-python/?...
November 2, 2026 at 9:36 PM
Writing get_name() and set_name() for every attribute in Python?

You usually don't need them. Properties do the job more cleanly. There are still a few cases where old-style getters win, and the guide shows which.

realpython.com/python-gette...
November 2, 2026 at 8:00 PM
A car has an engine. A car is a vehicle.

That "has" versus "is" is how you choose between composition and inheritance in your Python classes. The guide shows when each one fits.

realpython.com/inheritance-...
November 2, 2026 at 6:24 PM
Install the anthropic package, set your API key, make one call. Claude answers your Python script in under a minute.

The video course Using the Claude API in Python then adds system prompts and structured JSON with Pydantic.

realpython.com/courses/usin...
November 2, 2026 at 4:48 PM
🐍📰 SimPy: Simulating Real-World Processes With Python
realpython.com
November 2, 2026 at 2:20 PM
🐍📰 Python 3.15 Ships and Other Python News for November 2026
realpython.com
November 2, 2026 at 2:08 PM
❓🐍 Quiz: Advanced Git Tips for Python Developers Quiz
realpython.com
November 2, 2026 at 12:02 PM
🐍 Python Term of the Day: csv (Python Standard Library)

Provides functionality to read from and write to CSV (comma-separated values) files.
realpython.com
November 1, 2026 at 2:41 PM
🐍📰 Recursion in Python: An Introduction
realpython.com
November 1, 2026 at 2:12 PM
🐍📰 Documenting Python Code: A Complete Guide
realpython.com
November 1, 2026 at 2:12 PM
🐍📰 Operator and Function Overloading in Custom Python Classes
realpython.com
November 1, 2026 at 2:12 PM
🐍 Python Term of the Day: ZeroDivisionError (Python’s Built-in Exceptions)

Occurs when you attempt to divide a number by zero, which is mathematically undefined.
realpython.com
October 31, 2026 at 2:41 PM
🐍📰 Socket Programming in Python (Guide)
realpython.com
October 31, 2026 at 2:23 PM
🐍📰 Object-Oriented Programming in Python vs Java
realpython.com
October 31, 2026 at 2:22 PM
🐍📰 Generating Random Data in Python (Guide)
realpython.com
October 31, 2026 at 2:22 PM
🐍📰 Using the Python zip() Function for Parallel Iteration
realpython.com
October 31, 2026 at 2:22 PM