Planet Python RSS
210 subscribers
18.5K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Peter Bengtsson: logger.error or logger.exception in Python

Link: http://www.peterbe.com/plog/logger.error-or-logger.exception

Consider this Python code:

try:
1 / 0
except Exception as e:
logger.error("An error occurred while dividing by zero.: %s", e)

The output of this is:

An error occurred while dividing by zero
Talk Python to Me: #539: Catching up with the Python Typing Council

Link: https://talkpython.fm/episodes/show/539/catching-up-with-the-python-typing-council

You're adding type hints to your Python code, your editor is happy, autocomplete is working great. But then you switch tools and suddenly there are red squiggles everywhere. Who decides what a float a
Real Python: Quiz: Build Your Weekly Python Study Schedule: 7 Days to Consistent Progress

Link: https://realpython.com/quizzes/weekly-study-schedule/

In this quiz, you’ll test your understanding of
Build Your Weekly Python Study Schedule.
By working through this quiz, you’ll revisit how to set specific weekly goals,
design a realistic 7-day plan, a
Real Python: Quiz: Spyder: Your IDE for Data Science Development in Python

Link: https://realpython.com/quizzes/spyder-ide/

In this quiz, you’ll test your understanding of
Spyder: Your IDE for Data Science Development in Python.
By working through this quiz, you’ll revisit how to install Spyder,
explore variables with the
EuroPython: Humans of EuroPython: Cristián Maureira-Fredes

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

Ever wonder what powers EuroPython? 🐍 No it’s not coffee—It&aposs volunteers! From stage MCs to sponsor ambassadors, Wi-Fi wizards to vibe guardians, we’re the invisible threads weaving community magi
Django Weblog: DSF member of the month - Theresa Seyram Agbenyegah

Link: https://www.djangoproject.com/weblog/2026/mar/08/dsf-member-of-the-month-theresa-seyram-agbenyegah/

For March 2026, we welcome Theresa Seyram Agbenyegah as our DSF member of the month! ⭐

Theresa is a passionate community builder serving in the DSF Events Support Working Group. She has demonstrated
Python Anywhere: How PythonAnywhere Became a Publish Target for BeeWare Apps

Link: https://blog.pythonanywhere.com/223/

tl;dr
You can now deploy BeeWare apps as web apps on
PythonAnywhere with a single command. Install the
pythonanywhere-briefcase-plugin,
run briefcase publish web static, done. There’s a
step-by-step t
Real Python: Quiz: Pydantic AI: Build Type-Safe LLM Agents in Python

Link: https://realpython.com/quizzes/pydantic-ai/

In this quiz, you’ll test your understanding of Pydantic AI: Build Type-Safe LLM Agents in Python.
You’ll revisit what Pydantic AI is, how to specify a model provider, how to return structured outputs
Real Python: Quiz: Introduction to Python SQL Libraries

Link: https://realpython.com/quizzes/python-sql-libraries/

In this quiz, you’ll test your understanding of
Python SQL Libraries.
Work through this quiz to connect to databases with Python, interact with SQLite, MySQL, and PostgreSQL, run SQL queries, and writ
Real Python: Python Gains frozendict and Other Python News for March 2026

Link: https://realpython.com/python-news-march-2026/

After years of community requests, Python is finally getting frozendict. The Steering Council accepted PEP 814 in February, bringing an immutable, hashable dictionary as a built-in type in Python 3.15
The Python Coding Stack: Field Notes: First, Second, and Five Hundred and Twenty-Third • [Club]

Link: https://www.thepythoncodingstack.com/p/field-notes-first-second-and-five

Most of my posts on The Python Coding Stack, whether in the main publication or here in The Club, typically focus on some aspect of core Python and explore it through a step-by-step approach, a mini-p
Python Bytes: #472 Monorepos

Link: https://pythonbytes.fm/episodes/show/472/monorepos

Topics covered in this episode:

Setting up a Python monorepo with uv workspaces
cattrs: Flexible Object Serialization and Validation
Learning to program in the AI age
VS Code extension for FastAPI an
Mariatta: Year of the Snake Recap

Link: https://mariatta.ca/posts/year-of-snake-2025-recap/

Looking Back at the Year of the Snake
It’s already March 2026, you might think it’s too late for anybody to share a recap of the year 2025. Well,
the good news is that we are still in the beginnings o
Daniel Roy Greenfeld: Top Terminal Tools

Link: https://daniel.feldroy.com/posts/2026-03-command-line-tools-im-using

When I sit down to code, these are the tools I use at this time whenever I touch code. In alphabetical order:
Atuin
Atuin is a replacement for the default shell history. It saves your history to a loc
Wingware: Wing Python IDE Version 11.1 - March 10, 2026

Link: https://wingware.com/news/2026-03-10

Wing Python IDE version 11.1 has been released with improved pseudo TTY emulation
in OS Commands, Start Terminal on Windows, syntax highlighting for Rust and TOML,
support for newer OpenAI models in A
Real Python: Quiz: Python Descriptors: An Introduction

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

In this quiz, you’ll test your understanding of Python Descriptors.
By working through this quiz, you’ll revisit the descriptor protocol, how .__get__() and .__set__() control attribute access, and ho
Real Python: Working With APIs in Python: Reading Public Data

Link: https://realpython.com/courses/working-apis-reading-public-data/

Python is an excellent choice for working with Application Programming Interfaces (APIs), allowing you to efficiently consume and interact with them. By using the Requests library, you can easily fetc
PyCoder’s Weekly: Issue #725: Generators, __init__.py, Pointblank, and More (March 10, 2026)

Link: https://pycoders.com/issues/725

#725 – MARCH 10, 2026 View in Browser » Invent Your Own Comprehensions in Python Python doesn’t have tuple, frozenset, or Counter comprehensions, but you can invent your own by passing a generat
RoseHosting Blog: How to Install Python on Ubuntu 26.04

Link: https://www.rosehosting.com/blog/how-to-install-python-on-ubuntu-26-04/

Python is a versatile programming language that works on nearly any system architecture, whether for web development or machine learning, ...
Read More
The post How to Install Python on Ubuntu 26.04
Real Python: Quiz: Create and Modify PDF Files in Python

Link: https://realpython.com/quizzes/creating-modifying-pdf/

In this quiz, you’ll test your understanding of Creating and Modifying PDF Files in Python.
By working through this quiz, you’ll practice reading, extracting, and modifying PDFs using the pypdf librar