Issue #698

Capturing Stdout, REPL Color, Feature History, and More

Sept. 9, 2025

Capturing Stdout, REPL Color, Feature History, and More
#698 – SEPTEMBER 9, 2025 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python: Capture Stdout and Stderr in Unittest
When testing code that outputs to the terminal through either standard out (stdout) or standard error (stderr), you might want to capture that output and make assertions on it.
ADAM JOHNSO

Customizing Your Python 3.14 REPL’s Color Scheme
The upcoming release of Python 3.14 includes syntax highlighting in the REPL and you can control its color scheme and make it your own.
TREY HUNNER

On Demand: Design Long-Running, Human-Aware MCP
Move beyond chatbots to build durable MCP servers that run for days, survive failures, and orchestrate elicitations and LLM sampling. Learn remote MCP trade-offs and patterns for sophisticated, or ambient, agents in this on-demand webinar →
TEMPORALsponsor

A History of Python Versions and Features
Explore Python’s evolution from the 1990s to today with a brief history and demos of key features added throughout its lifetime.
REAL PYTHON course

PEP 794: Import Name Metadata (Accepted)
PYTHON.ORG

Python Type System and Tooling Survey 2025
GOOGLE.COM

Django Security Releases Issued: 5.2.6, 5.1.12, and 4.2.24
DJANGO SOFTWARE FOUNDATION


Articles & Tutorials


Large Language Models on the Edge of the Scaling Laws
What’s happening with the latest releases of large language models? Is the industry hitting the edge of the scaling laws, and do the current benchmarks provide reliable performance assessments? This week on the show, Jodie Burchell returns to discuss the current state of LLM releases.
REAL PYTHON podcast

Python Has Had Async for 10 Years
Anthony Shaw poses the question: Python has had async for 10 years, so why isn’t it more popular? He dives deep on where async is useful and where it is limited. Associated HN discussion.
ANTHONY SHAW

Engineer-led Demos, Live AMA, and More – all at Glean:LIVE
Don’t miss Glean’s product launch on Sept 25th. Get a first look at Glean’s new Assistant, see how to vibe code an agent, and catch engineer-led demos. This launch is all about empowering you with a more personalized experience and upleveling the skills only you can bring to your work. Register now! here →
GLEANsponsor

Top 6 Python Libraries for Visualization: Which One to Use?
The vast number of Python visualization libraries can be overwhelming. This article shows you the pros and cons of some the popular libraries, including Matplotlib, seaborn, Plotly, Bokeh, Altair, and Pygal.
CODECUT.AI • Shared by Khuyen Tran

Open Source Is a Gift
This opinion piece talks about how open source isn’t just a gift of free libraries, but the gift of learning from others who are developing in public.
JOSH THOMAS.

Managing Multiple Python Versions With pyenv
Learn how to use pyenv to manage multiple Python versions, prevent conflicts, and keep your projects compatible and development smooth.
REAL PYTHON

Quiz: Managing Multiple Python Versions With pyenv
REAL PYTHON

uv vs pip: Managing Python Packages and Dependencies
Compare uv and pip with benchmarks, speed tests, and dependency management tips. Learn which tool is best for your Python projects.
REAL PYTHON

Quiz: uv vs pip: Managing Python Packages and Dependencies
REAL PYTHON

Profiling Performance in Python
Learn to profile Python programs with built-in and popular third-party tools, and turn performance insights into faster code.
REAL PYTHON course

Python 3.14: 3 Smaller Features
With a jam packed 3.14 release around the corner, it’s also important to look at the smaller features coming to Python
JAMIE CHANG • Shared by Jamie Chang

Looking Forward to Django 6.0
This post is an update on the progress of Django 6 and describes many of the features that will be in it.
CARLTON GIBSON

You’re a Developer, not a Jenkins Admin
Switch to Bitbucket Pipelines: build, test, deploy, and get back to being a dev.
ATLASSIANsponsor

When You No Longer Need That Object
Explore reference counting and cyclic garbage collection in Python.
STEPHEN GRUPPETTA

The Flowing River: List Comprehensions
Understanding how Python’s list comprehensions work under the hood
SUBSTACK.COM • Shared by Vivis Dev


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

tilf: Tiny Elf Pixel Art Editor Built With PySide6
GITHUB.COM/DANTEROLLE

A GitHub Seach Inpired Interface to DataFrames
GITHUB.COM/WILLIAMBDEAN • Shared by William Dean

vectorwrap: Swap Vector Databases by Changing the URL
GITHUB.COM/MIHIRAHUJA1 • Shared by Mihir Ahuja

furl: URL Parsing and Manipulation Made Easy
GITHUB.COM/GRUNS

pymc: Bayesian Modeling and Probabilistic Programming
GITHUB.COM/PYMC-DEVS

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
September 10, 2025

Python Atlanta
September 11 to September 12, 2025

PyCon India 2025
September 12 to September 16, 2025

PyCon AU 2025
September 12 to September 17, 2025

PyCamp CZ 25 Beta
September 12 to September 15, 2025

Django Girls Abraka Workshop
September 12 to September 13, 2025

PyCon Niger 2025
September 13 to September 16, 2025

PyCon UK 2025
September 19 to September 23, 2025
Happy Pythoning!
Copyright © 2025 PyCoder’s Weekly, All rights reserved.