Learn Python with Talk Python's Python courses

CPython Internals and Learning Python with pythontutor.com

Episode #22, published Tue, Aug 25, 2015, recorded Mon, Aug 3, 2015.

This episode is carbon neutral.
It's time to look deep within the machine and understand what *really* happens when your Python code executes. We're code-walking through the CPython code and visualizing it at pythontutor.com.

In this is episode, we talk with Philip Guo about the internals of the CPython interpreter as well as his project to develop a deeper understanding of how Python code executes at pythontutor.com. You'll learn how everything in CPython is an object, even though it's written in C and C doesn't support pure OO programming!

Links from the show:

CPython internals: A ten-hour codewalk: pgbovine.net/cpython-internals.htm
Python Tutor: pythontutor.com
Codewalk on YouTube: bit.ly/cpythonwalk
Philip on Twitter: @pgbovine
CSC 253: courses.pgbovine.net/csc253
byteplay library: wiki.python.org/moin/ByteplayDoc

Want to go deeper? Check out our courses

Philip Guo
Philip Guo
Philip Guo is an assistant professor of cognitive science at UC San Diego. He researches human-computer interaction (HCI), with a focus on user interfaces for online learning. He is especially interested in studying how to better train software engineers and data scientists. He created a free Web-based visualization tool for learning programming called Online Python Tutor (pythontutor.com), which has been used by over 3.5 million people in over 180 countries to visualize over 30 million pieces of code.
Episode sponsored by
Ads served ethically
Click to show comments

Individuals can support this podcast directly via Patreon. Corporate sponsorship opportunities available here.
Become a friend of the show
Stay in the know and get a chance to win our contests.
See our privacy statement about email communications.