Planet Python RSS
217 subscribers
16.6K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Ned Batchelder: 2048: iterators and iterables

Link: https://nedbatchelder.com/blog/202507/2048_iterators_and_iterables.html

I wrote a low-tech terminal-based version of the
classic 2048 game and had some interesting difficulties
with iterators along the way.2048 has a 4×4 grid with sliding tiles. Because the tiles can sli
Real Python: Getting Started With marimo Notebooks

Link: https://realpython.com/courses/getting-started-with-marimo-notebooks/

marimo notebooks redefine the notebook experience by offering a reactive environment that addresses the limitations of traditional linear notebooks. With marimo, you can seamlessly reproduce and share
Ruslan Spivak: Book Notes: The Dark Art of Linear Algebra by Seth Braver — Chapter 1 Review

Link: https://ruslanspivak.com/bb06/


“Mathematics is the art of reducing any problem to linear algebra.” — William Stein

If you’ve ever looked at a vector and thought, “Just a column of numbers, right?”, this chapter will change that.
Mike Driscoll: Creating TUI Applications with Textual and Python is Released

Link: https://www.blog.pythonlibrary.org/2025/07/15/creating-tuis-with-textual-and-python-is-released/

Learn how to create text-based user interfaces (TUIs) using Python and the amazing Textual package.

Textual is a rapid application development framework for your terminal or web browser. You can buil
PyCoder’s Weekly: Issue #690: JIT, __init__, dis, and That's Not It (July 15, 2025)

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

#690 – JULY 15, 2025 View in Browser » Reflections on 2 Years of CPython’s JIT Compiler Ken is one of the contributors to CPython’s JIT compiler. This retrospective talks about what is going wel
Mike Driscoll: An Intro to Asciimatics – Another Python TUI Package

Link: https://www.blog.pythonlibrary.org/2025/07/16/an-intro-to-asciimatics-another-python-tui-package/

Text-based user interfaces (TUIs) have gained significant popularity in recent years. Even Rust has its own library called Ratatui after all. Python has several different TUI packages to choose from.
Python Software Foundation: Affirm Your PSF Membership Voting Status

Link: https://pyfound.blogspot.com/2025/07/affirm-your-psf-membership-voting-status.html

Every PSF voting-eligible Member (Supporting, Contributing, and Fellow) needs to affirm their membership to vote in this year’s election.If you wish to vote in this year’s PSF Board election, you must
Real Python: Python Scope and the LEGB Rule: Resolving Names in Your Code

Link: https://realpython.com/python-scope-legb-rule/

The scope of a variable in Python determines where in your code that variable is visible and accessible. Python has four general scope levels: local, enclosing, global, and built-in. When searching fo
Michael Droettboom: How to think about LLMs for OSS development

Link: http://droettboom.com/blog/2025/07/13/how-to-think-about-llms-for-oss-development/

In July, I had the honor of giving a keynote talk at PyCon Colombia 2025. This isn't exactly what I said on stage, but it is the script I was working from. Since some people prefer to read rather th
Wingware: Wing Python IDE Version 11.0.2 - July 17, 2025

Link: https://wingware.com/news/2025-07-17

Wing Python IDE version 11.0.2 is now available. It improves source code analysis,
avoids multiple duplicate evaluation of values in the Watch tool, fixes ruff as an
external code checker in the Code
Matt Layman: Enhancing Chatbot State Management with LangGraph

Link: https://www.mattlayman.com/blog/2025/enhancing-chatbot-state-management/

Picture this: it’s late and I’m deep in a coding session, wrestling with a chatbot that’s starting to feel more like a living thing than a few lines of Python. Today’s mission? Supercharge the chatbot
The Python Coding Stack: Do You Really Know How `or` And `and` Work in Python?

Link: https://www.thepythoncodingstack.com/p/do-you-really-know-how-or-and-and-work-in-python

Let's start with an easy question. Play along, please. I know you know how to use the or keyword, just bear with me for a bit…Have you answered? If you haven't, please do, even if this is a simple que
Mike Driscoll: Announcing Squall: A TUI SQLite Editor

Link: https://www.blog.pythonlibrary.org/2025/07/18/announcing-squall-a-tui-sqlite-editor/

Squall is a SQLite viewer and editor that runs in your terminal. Squall is written in Python and uses the Textual package. Squall allows you to view and edit SQLite databases using SQL. You can check
Talk Python to Me: #514: Python Language Summit 2025

Link: https://talkpython.fm/episodes/show/514/python-language-summit-2025

Every year the core developers of Python convene in person to focus on high priority topics for CPython and beyond. This year they met at PyCon US 2025. Those meetings are closed door to keep focused
Daniel Roy Greenfeld: uv run for running tests on versions of Python

Link: https://daniel.feldroy.com/posts/2025-07-uv-run-for-testing-python-versions

The uv library is not just useful for dependency management, it also comes with a run subcommand that doesn't just run Python scripts, it allows for specific Python versions and setting of dependencie
Armin Ronacher: Welcoming The Next Generation of Programmers

Link: https://lucumr.pocoo.org/2025/7/20/the-next-generation/

This post is addressed to the Python community, one I am glad to be a member of.
I'm product of my community. A decade ago I wrote about how much I owed the
Python community. Recently I found
myself
Go Deh: All Truth in Truthtables!

Link: http://paddy3118.blogspot.com/2025/07/all-truth-in-truthtables.html

    (Best viewed on a larger than phone screen)To crib from my RosettaCode tasks description and examples:A truth table is a display of the inputs to, and the output of a Boolean equation
organised a
Real Python: What Does isinstance() Do in Python?

Link: https://realpython.com/what-does-isinstance-do-in-python/

Python’s isinstance() function helps you determine if an object is an instance of a specified class or its superclass, aiding in writing cleaner and more robust code. You use it to confirm that functi
Python Bytes: #441 It's Michaels All the Way Down

Link: https://pythonbytes.fm/episodes/show/441/its-michaels-all-the-way-down

<strong>Topics covered in this episode:</strong><br>

<ul>
<li><em>* Distributed sqlite follow up: <a href="https://turso.tech?featured_on=pythonbytes">Turso</a> and <a href="https://litestream.io?fe