Real Python Podcast E255 Title Image

Episode 255: Structuring Python Scripts & Exciting Non-LLM Software Trends

The Real Python Podcast

What goes into crafting an effective Python script? How do you organize your code, manage dependencies with PEP 723, and handle command-line arguments for the best results? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

We dig into a recent Real Python article about how to structure your Python scripts. It includes advice for adding inline script metadata as defined in PEP 723, which helps tools automatically create an environment and install dependencies when the script is run. The piece also covers choosing appropriate data structures, improving runtime feedback, and making your code more maintainable with constants and entry points.

We discuss a collection of software trends happening behind the scenes of the constant LLM news. The piece starts with local-first software, prioritizing processing and storing private data on personal devices rather than relying on the cloud. The other trends include common themes and tools we’ve shared over the past few years, including WebAssembly, SQLite’s renaissance, and improvements to cross-platform mobile development.

We also share several other articles and projects from the Python community, including a news roundup, the state of free-threaded Python, tips for improving Django management commands, advice for time management as a manager, a data science-focused IDE, and a project to check for multiple patterns in a single string.

Topics:

  • 00:00:00 – Introduction
  • 00:02:26 – Followup - marimo and LaTeX
  • 00:03:26 – PEP 734: Multiple Interpreters in the Stdlib (Accepted)
  • 00:03:52 – Python 3.13.4, 3.12.11, 3.11.13, 3.10.18 and 3.9.23 Security Releases
  • 00:04:21 – Python Insider: Python 3.14.0 beta 3 is here!
  • 00:04:30 – Django Bugfix Releases: 5.2.3, 5.1.11, and 4.2.23
  • 00:04:52 – NumPy v2.3.0 Released
  • 00:05:02 – scikit-learn 1.7 Released
  • 00:05:12 – PyData Virginia 2025 Talks
  • 00:05:52 – How Can You Structure Your Python Script?
  • 00:12:08 – State of Free-Threaded Python
  • 00:18:23 – 5 Non-LLM Software Trends to Be Excited About
  • 00:29:50 – Video Course Spotlight
  • 00:31:23 – Better Django Management Commands
  • 00:33:56 – Advice for time management as a manager
  • 00:46:49 – positron: Data Science IDE
  • 00:50:05 – ahocorasick_rs: Check for Multiple Patterns in a Single String
  • 00:52:41 – 10 Polars Tools and Techniques To Level Up Your Data Science - Podcast Episode
  • 00:53:22 – Thanks and goodbye

News:

Show Links:

Discussion:

Projects:

Additional Links: