Planet Python RSS
210 subscribers
18.5K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Peter Bengtsson: pytest "import file mismatch"

Link: http://www.peterbe.com/plog/pytest-import-file-mismatch

Make sure your test files in a pytest tested project sit in directories with a __init__.py
Python Engineering at Microsoft: Python in Visual Studio Code – March 2026 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-march-2026-release/

We’re excited to announce that the March 2026 release of the Python extension for Visual Studio Code are now available!
This release includes the following announcements:

Search Python Symbols in Ins
Graham Dumpleton: Free Python decorator workshops

Link: https://grahamdumpleton.me/posts/2026/04/free-python-decorator-workshops/

I've been working on a set of interactive workshops on Python decorators and they are now available for free on the labs page of this site. There are 22 workshops in total, covering everything from th
Real Python: Quiz: Python's Counter: The Pythonic Way to Count Objects

Link: https://realpython.com/quizzes/python-counter/

In this quiz, you’ll test your understanding of Python’s Counter: The Pythonic Way to Count Objects.
By working through this quiz, you’ll revisit how to create Counter objects, update counts, find mos
death and gravity: reader 3.22 released – new web app

Link: https://death.andgravity.com/reader-3-22

Hi there!
I'm happy to announce version 3.22 of reader, a Python feed reader library.
What's new? #
Here are the highlights since reader 3.20.
New feed reader web app #
The new web application is done
Talk Python Blog: Announcing Course Completion Certificates

Link: https://talkpython.fm/blog/posts/announcing-course-completion-certificates/

I’m very excited to share that you can now generate course completion certificates automatically at Talk Python Training. What’s even better is our certificates allow you to one-click add them as offi
ListenData: How to Use Gemini API in Python

Link: https://www.listendata.com/2024/05/how-to-use-gemini-in-python.html


In this tutorial, you will learn how to use Google's Gemini AI model through its API in Python.
Updated (April 3, 2026): This tutorial has been updated for the latest Gemini models, including Gemini
ListenData: 4 Ways to Use ChatGPT API in Python

Link: https://www.listendata.com/2024/04/4-ways-to-use-chatgpt-api-in-python.html

In this tutorial, we will explain how to use ChatGPT API in Python, along with examples.
Steps to Access ChatGPT API
Please follow the steps below to access the ChatGPT API.

Visit the OpenAI Platform
ListenData: How to Use Web Search in ChatGPT API

Link: https://www.listendata.com/2025/02/how-to-use-web-search-in-chatgpt-api.html

In this tutorial, we will explore how to use web search in OpenAI API.
Installation Step : Please make sure to install the openai library using the command - pip install openai.
Python Code

from open
ListenData: How to Build ChatGPT Clone in Python

Link: https://www.listendata.com/2023/06/how-to-build-chatgpt-clone-in-python.html

In this article, we will see the steps involved in building a chat application and an answering bot in Python using the ChatGPT API and gradio.
Developing a chat application in Python provides more co
Rodrigo Girão Serrão: Indexable iterables

Link: https://mathspp.com/blog/indexable-iterables


Learn how objects are automatically iterable if you implement integer indexing.
Introduction
An iterable in Python is any object you can traverse through with a for loop.
Iterables are typically cont
Real Python: Quiz: Class Concepts: Object-Oriented Programming in Python

Link: https://realpython.com/quizzes/python-class-object/

In this quiz, you’ll test your understanding of
Class Concepts: Object-Oriented Programming in Python.
By working through this quiz, you’ll revisit how to define classes,
use instance and class attrib
Real Python: Quiz: How to Add Features to a Python Project With Codex CLI

Link: https://realpython.com/quizzes/codex-cli/

In this quiz, you’ll test your understanding of How to Add Features to a Python Project With Codex CLI.
By working through this quiz, you’ll revisit how to install, configure, and use Codex CLI to imp
PyCon: ¡Haciendo Historia! Celebrating PyCon US’s First-Ever Spanish-Language Keynote

Link: https://pycon.blogspot.com/2026/04/haciendo-historia-celebrating-pycon-uss.html

PyCon US has always been about more than just a programming language; it’s about the incredible, global community that builds, supports, and innovates with it. This year at PyCon US 2026 in Long Beach
Armin Ronacher: Absurd In Production

Link: https://lucumr.pocoo.org/2026/4/4/absurd-in-production/

About five months ago I wrote about Absurd, a
durable execution system we built for our own use at Earendil, sitting entirely
on top of Postgres and Postgres alone. The pitch was simple: you don’t ne
Marcos Dione: Correcting OpenStreetMap wrong tag values

Link: https://www.grulic.org.ar/~mdione/glob/posts/correcting-openstreetmap-wrong-tag-values/

As a hobbyist consumer of OSM data to render maps, I find wrong tags annoying. Bad values mean that the
resulting map is wrong or incomplete, so less useful. I decided to attack the most egregious on
EuroPython: Humans of EuroPython: George Zisopoulos

Link: https://blog.europython.eu/humans-of-ep-george/

Behind every flawless talk, engaging workshop, and perfectly timed coffee break at EuroPython is a crew of unsung heroes—our volunteers! 🌟 Not just organizers, but dream enablers: printer ninjas, regi
Real Python: Quiz: For Loops in Python (Definite Iteration)

Link: https://realpython.com/quizzes/for-loop-python/

Test your understanding of For Loops in Python (Definite Iteration).
You’ll revisit Python loops, iterables, and how iterators behave. You’ll also explore set iteration order and the effects of the br