Python Pitfalls: Common Mistakes and How to Avoid Them | Real Python Podcast #315
What are common mistakes that Python beginners make, and how do you avoid them? 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/315/ We dig into an article about common pitfalls and mistakes new Python developers make. Some of the mistakes are due to Python doing exactly what you asked it to do. We also talk about Real Python resources for getting started with the language and building your development environment. We also share other articles and projects from the Python community, including recent releases, a collection of new PEPs, the results of two recent Python elections, creating temporary files in Python, decoupling pure logic from Django's ORM, a Python functions reference, a lightning-fast logger, and an online development environment for creating games. Topics: - 00:00:00 -- Introduction - 00:02:05 -- After a delay - Python 3.15.0 (final) is here! - 00:02:41 -- Python 3.10.22, 3.11.17, 3.12.15, 3.13.16 and 3.14.8 are now available! - 00:03:30 -- PEP 823 β None-aware access operators - 00:04:40 -- PEP 845: Leading-Dot Value Patterns - 00:05:04 -- PEP 846: Docstrings for Type Aliases - 00:05:21 -- PEP 848: Generational Incremental Garbage Collection - 00:06:12 -- 2026 PSF Board Election Results - 00:06:31 -- 2026 Python Packaging Council Election Results! - 00:07:23 -- 7 Python Mistakes Beginners Make - 00:18:03 -- An Effective Python Development Environment - 00:21:37 -- Creating Temporary Files in Python - 00:24:30 -- Video Course Spotlight - 00:26:02 -- 5 Design Patterns Used in My New Habit Tracker App - 00:33:43 -- Functions: A Complete Reference - 00:36:50 -- PYXEL STUDIO - 00:39:38 -- pyfastlogging: A Lightning Fast Logger, Written in Rust - 00:41:54 -- How Libraries Run Rust Inside Python (with PyO3) - 00:44:43 -- Thanks and goodbye π Links from the show: https://realpython.com/podcasts/rpp/315/ 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 β°β°β°β°β°β°β°β°β°β°β°β°β°β°β°β°β°β°β°β°