Optimizing Python Performance & Building a Django Static Site| Real Python Podcast #320 @realpython
Optimizing Python Performance & Building a Django Static Site| Real Python Podcast #320  @realpython
Uploaded November 2026 | Updated December 2026, 2 days ago
What goes into moving from profiling the performance of a Python program to optimizing it? What are common techniques you should consider for speeding up your code, and which ones should you avoid? Christopher Trudeau is back on the show this week with another batch of PyCoder's Weekly articles and projects.

πŸ‘‰ Links from the show: realpython.com/podcasts/rpp/320

We cover a recent Real Python practical guide about optimizing Python performance. The piece goes beyond the first step of finding the slow areas of code through profiling and into specific optimization techniques. We discuss choosing better algorithms and data structures, caching results, and using tools from the standard library.

We also share other articles and projects from the Python community, including recent releases, a pair of Python Enhancement Proposals, using Django as a simple static site builder, how a Python type checker decides a variable is unused, pull request limits for the CPython repo, a Postman alternative built in Python using Textual, and a world clock for the terminal.

Topics:

- 00:00:00 -- Introduction
- 00:02:04 -- Python 3.15.2, 3.14.10, 3.13.18, 3.12.16 and 3.11.18 Released
- 00:02:34 -- Python 3.16.0 alpha 2 is now available
- 00:03:08 -- Django Security Releases Issued: 6.1.3, 6.0.10, and 5.2.19
- 00:03:25 -- Advice on managing security releases and updates
- 00:09:06 -- PEP 850: Wheel Variants: Providers
- 00:09:49 -- PEP 836: JIT Go Brrr: Python's Experimental JIT to Be Removed
- 00:11:17 -- Announcing New Security Developer at the PSF
- 00:11:55 -- In Memoriam: Tim Peters 1952–2026
- 00:12:57 -- Python Performance Optimization: A Practical Guide
- 00:25:54 -- Video Course Spotlight
- 00:27:24 -- Django as a Simple Static Site Builder
- 00:33:08 -- How a Python Type Checker Decides a Variable Is Unused
- 00:38:47 -- Pull Request Limits for CPython Repo
- 00:41:44 -- Ghostman: Postman Alternative Built in Python With Textual
- 00:44:04 -- terrahour: World Clock With a Day/Night Map for the Terminal
- 00:46:18 -- Thanks and goodbye

πŸ‘‰ Links from the show: realpython.com/podcasts/rpp/320

Download your free Python Cheat Sheet here: realpython.com/cheatsheet
Free Python Skill Test with instant level + learning plan: realpython.com/skill-test
Want to learn faster? Become a Python Expert with unlimited access to 5,000+ tutorials, videos, and exercises: realpython.com/start

🐍 Become a Python expert with real-world tutorials, on-demand courses, interactive quizzes, and 24/7 access to a community of experts at realpython.com

β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°
🐍 Start Here β†’ realpython.com/start
πŸ—ΊοΈ Guided Learning Paths β†’ realpython.com/learning-paths
🎧 Real Python Podcast β†’ realpython.com/podcast

πŸ“š Python Books β†’ realpython.com/books
πŸ“– Python Reference β†’ realpython.com/ref
πŸ§‘β€πŸ’» Quizzes & Exercises β†’ realpython.com/quizzes

πŸŽ“ Live Courses: realpython.com/live
⭐️ Reviews & Learner Stories: realpython.com/learner-stories
β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°
Optimizing Python Performance & Building a Django Static Site| Real Python Podcast #320Your LLMs Effective Context WindowWorking With Pythons deque: Getting Started & Popping/Appending Items EfficientlyUse Coding Agents Without Burning Yourself OutDetect AI Slop PRs on GitHub With the gh-profiler ToolWhat Does Pythons  init .py Do? Introducing  init .py & Building a Basic Examplehash(-1) and hash(-2) Return the Same Value!Take a Break From AI: Free Weekly Live Python SessionsNavigating Silent Failures in AI: Strategies for Effective Oversight | Real Python Podcast #308Not Every Inner Function Is a ClosureConstructing and Judging Modern Agentic Workflows | Real Python Podcast #302Say Hello to Mentor AI – Your New Python & AI Teacher
Real Python |

Optimizing Python Performance & Building a Django Static Site| Real Python Podcast #320

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER