Running Python Locally in a Sandbox | Real Python Podcast #301 @realpython
Running Python Locally in a Sandbox | Real Python Podcast #301  @realpython
Uploaded July 2026 | Updated September 2026, 2 weeks ago
How do you avoid the risk of running a Python application locally that could be malicious, break your code, or leak private data? How can you create a sandboxed local environment using WASM and MicroPython? 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/301

We cover a recent article by previous guest Simon Willison titled "Running Python code in a sandbox with MicroPython and WASM." Simon has been experimenting for years on how to run Python code in a sandbox to reduce the risk of trying out new software, untrusted libraries, and wild ideas. He's developed a solution using WASM and MicroPython and is sharing it as an alpha package on PyPI.

We also share other articles and projects from the Python community, including new releases, community announcements, a roundup of recent Real Python tutorials and video courses, a plugin case study using Pluggy, are you expected to run five type-checkers now, wrapping programs using the subprocess module, a project for star charts and maps, and a tool for trend detection in Python.

This episode is sponsored by DataDriven: (datadriven.io/?utm_source=realpython&utm_medium=podcast&utm_campaign=realpython_podcast_sponsorship&utm_content=shownotes_leaderboard)

Topics:

- 00:00:00 -- Introduction
- 00:02:48 -- PSF Board Election Dates for 2026
- 00:03:28 -- Python 3.15.0 beta 3 is here!
- 00:03:58 -- PEP 835: Shorthand Syntax for Annotated Type Metadata
- 00:05:13 -- Announcing the Search for a DSF Executive Director
- 00:05:53 -- Django 6.1 beta 1 released
- 00:06:24 -- PyData London 26 Videos Released
- 00:06:50 -- Implementing Interfaces in Python: ABCs and Protocols
- 00:07:36 -- Building Python Skills for the Job Market
- 00:08:21 -- Context Engineering for Python Codebases
- 00:09:14 -- Python for Data Analysis: A Practical Guide
- 00:09:47 -- Using LlamaIndex for RAG in Python
- 00:10:07 -- Django Tasks: Exploring the Built-in Tasks Framework
- 00:10:59 -- Plugins Case Study: Pluggy
- 00:15:10 -- Sponsor: DataDriven
- 00:15:57 -- Pyodide 314.0 Release
- 00:18:54 -- Python in a Sandbox With MicroPython and WASM
- 00:22:35 -- The subprocess Module: Wrapping Programs With Python
- 00:30:08 -- Spotlight: Codex for Python Developers
- 00:31:51 -- Are You Expected to Run 5 Type-Checkers Now?
- 00:39:41 -- starplot: ✨ Star charts and maps in Python
- 00:42:01 -- marimo-tutorials: Collection of Marimo Tutorials
- 00:42:48 -- pytrendy: Trend Detection in Python
- 00:44:35 -- Thanks and goodbye

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

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
β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°β–°
Running Python Locally in a Sandbox | Real Python Podcast #301Secure Python Installs? Why You Should Always Use WheelsSolo Developer: Why Product Management Is the HardestWrite Cleaner Python With Single ResponsibilityWhy Strong Communication Is the Key to Agile SuccessSend HTML Email and Attachments in PythonNever Say Easy in a Programming TutorialFree US Datasets for PythonAccessing Multiple AI Models With the OpenRouter API: Getting Started & Using Intelligent RoutingThe Word Everyone Forgets in AGI Is GeneralDjangos New Built-In Task FrameworkPythons Mock Library for Cleaner Tests
Real Python |

Running Python Locally in a Sandbox | Real Python Podcast #301

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER