Brought to you by Linode - Build your next big idea @

Episode #22: CPython Internals and Learning Python with

Published Tues, 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:

CPython internals: A ten-hour codewalk:
Python Tutor:
Codewalk on YouTube:
Philip on Twitter: @pgbovine
CSC 253:
byteplay library:

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