Quantcast
Channel: Planet Python

Kay Hayen: Nuitka Release 4.1

This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler, “download now”.This release adds many new features and corrections with a focus on async...

View Article


Real Python: Quiz: Tapping Into the Zen of Python

In this quiz, you’ll test your understanding of Tapping Into the Zen of Python.By working through this quiz, you’ll revisit the origins of the poem, the meaning of several aphorisms, and the inside...

View Article


Real Python: Quiz: Absolute vs Relative Imports in Python

In this quiz, you’ll test your understanding of Absolute vs Relative Imports in Python.By working through this quiz, you’ll revisit how Python’s import system resolves modules, the differences between...

View Article

Real Python: Tapping Into the Zen of Python

The Zen of Python is a collection of 19 aphorisms that capture the guiding principles behind Python’s design. You can display them anytime by running import this in a Python REPL. Tim Peters wrote them...

View Article

Image may be NSFW.
Clik here to view.

PyCoder’s Weekly: Issue #735: Agentic Architecture, Python is Weird, 3.15,...

#735 – MAY 19, 2026View in Browser »Agentic Architecture: Why Files Aren’t Always Enough What are the limitations of using a file-based agent workflow? Why do massive context windows tend to collapse?...

View Article


Image may be NSFW.
Clik here to view.

Python GUIs: Adding QComboBox to a QTableView and getting/setting values...

I'm using a QTableView to display data, and would like to limit the choices in some of the fields using a drop-down. I can use QComboBox to provide a list of choices in a normal UI, but how can I do...

View Article

Real Python: Quiz: How to Use the Claude API in Python

In this quiz, you’ll test your knowledge of How to Use the Claude API in Python.By working through this quiz, you’ll revisit how to install the anthropic SDK, send prompts to Claude with...

View Article

Image may be NSFW.
Clik here to view.

Real Python: How to Use the Claude API in Python

The fastest way to use the Claude API in Python is to install anthropic, set your API key, and call client.messages.create(). You’ll have a working response in under a minute:Example of Using the...

View Article


Image may be NSFW.
Clik here to view.

death and gravity: reader 3.24 released – help, multi-user updates

Hi there!I'm happy to announce version 3.24 of reader, a Python feed reader library.What's new? #Here are the highlights since reader 3.23.Context-sensitive help #In lieu of a tutorial mode, the web...

View Article


Django Weblog: Django 6.1 alpha 1 released

Django 6.1 alpha 1 is now available. It represents the first stage in the 6.1 release cycle and is an opportunity to try out the changes coming in Django 6.1.Django 6.1 offers a harmonious mélange of...

View Article

Talk Python Blog: Audit Your Python App Like Mozilla Audited Firefox

Earlier this year, Mozilla announced that they had pointed Claude at the Firefox JavaScript runtime. The agent surfaced more than 100 bugs, 14 of them serious enough to become CVEs. That is the kind of...

View Article

Paolo Melchiorre: My PyCon US 2026

A timeline of my PyCon US 2026 journey, in Long Beach (US), told through the Mastodon posts I shared along the way.

View Article

PyCharm: Improving Accessibility in JetBrains IDEs: What’s New and What’s...

View Article


PyCharm

Making software accessible often comes down to removing small but repeated points of friction in everyday workflows. Today, on Global Accessibility Awareness Day, we’re sharing recent improvements in...

View Article

Real Python: Quiz: Context Managers and Using Python's with Statement

In this quiz, you’ll test what you learned in the video course Context Managers and Using Python’s with Statement.By working through this quiz, you’ll revisit how the with statement runs setup and...

View Article


Kevin Renskers: uv is fantastic, but its package management UX is a mess

Astral’s uv has taken the Python world by storm, and for good reason. It is blisteringly fast, handles Python versions with ease, and replaces a half-dozen tools with a single binary. I’ve written...

View Article

Image may be NSFW.
Clik here to view.

The Python Coding Stack: How I Learn (2026 Version) • My Tutor Agent

I know how I like to learn new things. Over the years, I figured out what works for me and what doesn’t. If you read my articles or attend my courses, then you know how I like to learn since I teach in...

View Article


Glyph Lefkowitz: Opaque Types in Python

Let’s say you’re writing a Python library.In this library, you have some collection of state that represents “options” or “configuration” for a bunch of operations. Such a set of options is a bundle of...

View Article

Real Python: Quiz: Build a Tic-Tac-Toe Game With Python and Tkinter

In this quiz, you’ll test your understanding of Build a Tic-Tac-Toe Game With Python and Tkinter.By working through this quiz, you’ll revisit how to design game logic with Python classes, lay out and...

View Article

Real Python: The Real Python Podcast – Episode #296: Managing Polars Schema...

How can you avoid schema problems in your Polars data pipeline when adding new columns? How can you quickly examine a GitHub user's profile to decide how much to invest in their contributions?...

View Article

Image may be NSFW.
Clik here to view.

Python Morsels: What types of exceptions should you catch?

The trickiest programming bugs are often caused by catching exceptions that you didn't mean to catch or handling exceptions in ways that **obfuscate the actual error that's occurring. Which exceptions...

View Article


Image may be NSFW.
Clik here to view.

Bob Belderbos: What production AI agents actually require

Most "AI agents" shipping right now are demos wearing production paint. They answer questions fluently and break the moment they touch a workflow with money, state, or consequences.The agent...

View Article


Image may be NSFW.
Clik here to view.

EuroPython: Call for Onsite Volunteers: Make EuroPython 2026 Happen

We need volunteers to make EuroPython 2026 happen. And you might be exactly who we&aposre looking for!Before sharing all the information, here is a personal story from me:The first time I attended...

View Article

Graham Dumpleton: Stateful decorators in wrapt

A new version of wrapt was released earlier this week. Version 2.2.0 introduces a small helper that makes it noticeably easier to write decorators that need to keep state across calls. It is the kind...

View Article

Graham Dumpleton: Per-instance lru_cache using wrapt

Following on from the previous post on stateful decorators, there is another small addition in wrapt 2.2.0 worth a closer look. A new wrapt.lru_cache helper has been added that fixes the long-standing...

View Article



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>