Monitor errors and performance issues with

CPython Internals and Learning Python with

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

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

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 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:

Python Tutor:
Codewalk on YouTube:
Philip on Twitter: @pgbovine
byteplay library:

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 (, 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
Talk Python's Mastodon Michael Kennedy's Mastodon