John Cook: Converting very long strings to integers in Python
In the process of writing the previous post, I wanted to confirm that the number in the postreally is prime. This was useful in debugging my manual conversion of the image to text: errors did not...
View ArticleTest and Code: 238: So Long, and Thanks for All the Fish
A farewell to a fun 10 years.Also, I should have tested it better. :)In the audio I got the numbers wrong. Doh!This is episode 238, not 237. Oh well.I'll still be around, of course, at:pythontest.com...
View ArticleMade With Mu: RIP Mu
Late last year we announced we’d retire Mu. The core maintainers have all moved onto other things, our lives have changed and the time we have available to maintain Mu has significantly decreased....
View ArticleSeth Michael Larson: How many RSS subscribers do I have?
RSS is super rad way to consume internet content (“like a newspaper”). This blog gets syndicated via RSS and an email newsletter. Unlike with my newsletter, it's not clear how many people are reading...
View ArticleArmin Ronacher: Your MCP Doesn’t Need 30 Tools: It Needs Code
I wrote a while back about why code performs better than MCP for some tasks. In particular, I pointed out that if you have command line tools available, agentic coding tools seem very happy to use...
View ArticlePython Software Foundation: The 2024 Python Developer Survey Results are here!
We are excited to share the results of the eighth official annual Python Developers Survey. This survey is done yearly as a collaborative effort between the Python Software Foundation andJetBrains....
View ArticleReal Python: Single and Double Underscores in Python Names
Python has a few naming conventions that are based on using either a single or double underscore character (_). These conventions allow you to differentiate between public and non-public names in APIs,...
View ArticlePyCharm
This is a guest post from Michael Kennedy, the founder of Talk Python and a PSF Fellow.Welcome to the highlights, trends, and key actions from the eighth annual Python Developers Survey. This survey is...
View ArticlePython Bytes: #445 Auto-activate Python virtual environments for any project
<strong>Topics covered in this episode:</strong><br> <ul> <li><strong><a href="https://astral.sh/blog/introducing-pyx?featured_on=pythonbytes">pyx -...
View ArticleSeth Michael Larson: Extracting Genesis & Game Gear ROMs from SEGA...
The GameCube library had multiple SEGA game collections: Sonic Mega Collection, Sonic Adventure DX, and Sonic Gems Collection which all contain ROM files for the Genesis and Game Gear (among...
View ArticleReal Python: Deep vs Shallow Copies in Python
When working with Python objects, you’ll often need to make copies rather than modify the originals. In this video course, you’ll explore various ways to copy objects in Python, including using the...
View ArticleRuslan Spivak: 5 to 18: Why Your Count Might Be Off by One
Quick question:How many numbers are there from 5 to 18, including both ends?Your first instinct might be to subtract:18 - 5 = 13Feels right. But it’s wrong.It’s a small thing, and kind of basic, but...
View ArticlePython Engineering at Microsoft: Announcing the Data Wrangler powered...
If you have ever found yourself rewriting the last line of a notebook cell repeatedly just to get an overview of your data, you’re not alone. In VS Code the default output for Pandas DataFrames is a...
View ArticlePyCoder’s Weekly: Issue #695: Subinterpreters, Asyncio, Pytest, and More...
#695 – AUGUST 19, 2025View in Browser »Subinterpreters and Asyncio Subinterpreters are new and not well understood by the community, a library to abstract away some of the complexities is needed, and...
View ArticleTalk Python to Me: #516: Accelerating Python Data Science at NVIDIA
Python’s data stack is getting a serious GPU turbo boost. In this episode, Ben Zaitlen from NVIDIA joins us to unpack RAPIDS, the open source toolkit that lets pandas, scikit-learn, Spark, Polars, and...
View ArticleReal Python: Working With JSON Data in Python
Python’s json module provides you with the tools you need to effectively handle JSON data. You can convert Python data types to a JSON-formatted string with json.dumps() or write them to files using...
View Articledeath and gravity: Announcing asyncio-thread-runner: you can have a little...
Hi there!Back in 2023, we made a thing for running async code from sync code.I'm happy to announce that you can now install it from PyPI, and read the documented, tested, type-annotated code on GitHub!...
View ArticleDaniel Roy Greenfeld: TIL: Single source version package builds with uv (redux)
Not that long ago I wrote about how to use UV to build packages with a single source of truth for the version number. Since then, my friend Adam Johnson has pointed out that I could be doing it better....
View ArticleReal Python: The Real Python Podcast – Episode #262: Travis Oliphant: SciPy,...
What went into developing the open-source Python tools data scientists use every day? This week on the show, we talk with Travis Oliphant about his work on SciPy, NumPy, Numba, and many other...
View ArticleTalk Python to Me: #517: Agentic Al Programming with Python
Agentic AI programming is what happens when coding assistants stop acting like autocomplete and start collaborating on real work. In this episode, we cut through the hype and incentives to define...
View ArticleFirst Institute of Reliable Software: Best Code Rule: Always Separate Input,...
Stop writing glue-code scripts. Discover how one simple principle — separating input, output, and processing — transforms messy Python into professional-grade software.
View ArticleRodrigo Girão Serrão: TIL #130 – Format Python code directly with uv
Today I learned you can format your Python code directly with uv.In uv version 0.8.13, released one or two days ago, uv added the command format that allows you to format your Python code directly...
View ArticleRodrigo Girão Serrão: functools.Placeholder
Learn how to use functools.Placeholder, new in Python 3.14, with real-life examples.By reading this article you will understand what functools.Placeholder is for and how to use it effectively.Partial...
View ArticleSebastian Pölsterl: scikit-survival 0.25.0 with improved documentation released
I am pleased to announce that scikit-survival 0.25.0 has been released.This release adds support for scikit-learn 1.7, in addition to version 1.6. However, the most significant changes in this release...
View Article