Issue #737

Polars 1.41, Email, Great Docs, and More

June 2, 2026

Polars 1.41, Email, Great Docs, and More
#737 – JUNE 2, 2026 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Announcing Polars 1.41
Polars 1.41 is out and this post covers the new features it includes. Learn about faster parquet metadata decoding, nested subplan elimination, and more.
POLA.RS

Sending Emails With Python
Learn how to send emails with Python using SMTP, attach files, format HTML messages, and personalize bulk emails for your contact list.
REAL PYTHON

Quiz: Sending Emails With Python
Use Python’s standard library to send email through secure SMTP connections, attach files, include HTML content, and route replies.
REAL PYTHON

Your Coding Agent Gets Dumber the Longer It Runs. Here’s the Fix.
Coding agents degrade as context grows. The fix: a multi-role loop where the planner, builder, and reviewer each get isolated context — no stale assumptions, no compounding noise. A practical breakdown from someone who built it. Read the full breakdown
DEPOTsponsor

Great Docs
Talk Python interviews Rich Iannone and Michael Chow from Posit and they talk about a new Python documentation tool called Great Docs.
TALK PYTHON podcast

PyPy v7.3.23 Released
PYPY.ORG


Articles & Tutorials


Improving Python Through PEPs and Protocols
Have you ever been confused by the naming of modules you’re importing from a package? Is there a standard way to organize and name your Python virtual environments? This week on the show, Brett Cannon returns to discuss the Python Enhancement Proposals (PEPs) he’s been working on recently.
REAL PYTHON podcast

Tame Your Pesky Little Scripts
Over time it is common to accumulate little helper scripts, whether they’re shell scripts, aliases, or custom functions. They are typically tiny things that can become unwieldy to manage. This post shares a few ideas that might help you take back control.
JUHA-MATTI SANTALA

5-Day Live OOP Workshop (Final Chance to Enroll)
The Object-Oriented Python live cohort begins June 8. Five 2-hour sessions Mon to Fri build one growing application end to end, with OOP features introduced as the code starts needing them: classes, the data model, inheritance vs composition, properties, dataclasses.
REAL PYTHONsponsor

Free-Threading vs the GIL in mod_wsgi 6.0.0
Free-threading in mod_wsgi 6.0.0 lets a single process spread Python work across multiple cores. This post is a metrics based comparison between the GIL being enabled and disabled.
GRAHAM DUMPLETON

Notes About Python Email Packages
Chris recently upgraded his personal mail program from Python 2 to Python 3 and this post talks about what needed to change and notes how the newer code works.
CHRIS SIEBENMANN

Learning Path: Perfect Your Python Development Setup
Set up a Python development environment with VS Code, PyCharm, virtual environments, Git, pyenv, Docker, and AI coding tools like Claude Code and Cursor.
REAL PYTHON

Top 7 Python Libraries for Large-Scale Data Processing
This article covers Python libraries that make large-scale data processing faster, more scalable, and easier to manage across modern data workflows.
BALA PRIYA C

Connecting LLMs to Your Data With Python MCP Servers
Build an MCP server in Python that exposes tools, resources, and prompts so AI agents like Cursor can interact with your data.
REAL PYTHON course

How to Make a Scatter Plot in Python With plt.scatter()
Learn how to make scatter plots in Python with plt.scatter() and customize markers by size, color, shape, and transparency.
REAL PYTHON

Quiz: How to Make a Scatter Plot in Python With plt.scatter()
REAL PYTHON

Two Python Scoping Bugs: A Lesson in Object Lifetimes
Two Python bugs with opposite symptoms but the same root cause: picking the wrong scope for a stateful object.
BOB BELDERBOS

Sentinel Built-In
A quick post about Python 3.15’s new sentinel built-in.
RODRIGO GIRÃO SERRÃO


Projects & Code


Brought to you by Real Pythonsponsor
Online Python Training Created by Experts →

dj-lite-tenant: Multi-Tenant SQLite Databases for Django
GITHUB.COM/ADAMGHILL

Lifeguard: Detect Lazy Imports Incompatibilities
GITHUB.COM/FACEBOOK

nbpipe: Run Sequences of Jupyter Notebooks as a Workflow
GITHUB.COM/NGAFAR

httpx2: A Next Generation HTTP Client for Python
GITHUB.COM/PYDANTIC

mkdocs-marimo: Mkdocs Plugin for Marimo
GITHUB.COM/MARIMO-TEAM

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
June 3, 2026

Canberra Python Meetup
June 4, 2026

Sydney Python User Group (SyPy)
June 4, 2026

GeoPython 2026
June 8 to June 11, 2026

PiterPy Meetup
June 9, 2026

SciPy 2026, Minneapolis, MN
July 13-19, 2026
Happy Pythoning!
Copyright © 2026 PyCoder’s Weekly, All rights reserved.