Running Python Locally in a Sandbox | Real Python Podcast #301
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: https://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: (https://datadriven.io/?utm_source=rea...) 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: https://realpython.com/podcasts/rpp/301/ Download your free Python Cheat Sheet here: https://realpython.com/cheatsheet Free Python Skill Test with instant level + learning plan: https://realpython.com/skill-test Want to learn faster? Become a Python Expert with unlimited access to 5,000+ tutorials, videos, and exercises: https://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 https://realpython.com ▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰ 🐍 Start Here → https://realpython.com/start 🗺️ Guided Learning Paths → https://realpython.com/learning-paths 🎧 Real Python Podcast → https://realpython.com/podcast 📚 Python Books → https://realpython.com/books 📖 Python Reference → https://realpython.com/ref 🧑💻 Quizzes & Exercises → https://realpython.com/quizzes 🎓 Live Courses: https://realpython.com/live ⭐️ Reviews & Learner Stories: https://realpython.com/learner-stories ▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

He Risked Everything To Warn You: No One Is Ready For What's Coming, And The AI Companies Know It!

Android 17 sucks. So I put Linux on a phone.

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

353: Jeremy Scott: The Leaders Who Adapt
![React Tutorial For Beginners [ReactJS] | ReactJS Course | ReactJS For Beginners | Intellipaat](https://i.ytimg.com/vi/9vZ8ELqerPo/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLB_hhLXovYNLtVk2BabJ2yfQPTMuw)
React Tutorial For Beginners [ReactJS] | ReactJS Course | ReactJS For Beginners | Intellipaat

Silicon Is Over. Meet Its Successor

Ex-Google Insider Reveals The Future Of AI in 2026...

The Story of C++: The World's Most Consequential Programming Language | The Official Story

Keynote: After the AI Hype – What’s Real, and What’s Next - Richard Campbell - 2026
![You’ll stop using ChatGPT after listening to this | Jonathan Pageau [ARC 2026]](https://i.ytimg.com/vi/yZUuKzDQSsI/hqdefault_custom_1.jpg?sqp=CLz73tIG-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLB0iJXw2of84uq69JNjDWTzKn11ww)
You’ll stop using ChatGPT after listening to this | Jonathan Pageau [ARC 2026]

Backend web development - a complete overview

Companies are killing themselves with AI | David Gerard

Jfrog | Jfrog Artifactory | Jfrog Artifactory Tutorial | Artifactory Tutorial | Intellipaat

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

The Local AI Hardware Mistake Everyone Makes

Constructing and Judging Modern Agentic Workflows | Real Python Podcast #300

RL for Agents Workshop - Deep Dive on Training Agents with RL and Open Source

China Is About To Pop The AI Bubble

