Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Exploring Python Bytecode

EuroPython Conference via YouTube

Overview

Explore Python bytecode in this illuminating conference talk from EuroPython 2016. Dive deep into the intermediate language that expresses Python source code as machine instructions for the interpreter. Learn to read bytecode using the `dis` module, analyze it to understand program performance, and discover why some code runs faster than others. Investigate the role of bytecode in Python program execution, examine `.pyc` files, and gain insights into optimizing your code. Through practical examples and clear explanations, uncover the meaning of common bytecode instructions and how to interpret them. By the end of this talk, acquire the skills to leverage bytecode analysis for a deeper understanding of your Python code's inner workings and performance characteristics.

Syllabus

Introduction
Running Python Code
What is Bytecode
Disassembly
Disassembly Examples
Why Disassembly
Power to Your Python

Taught by

EuroPython Conference

Reviews

Start your review of Exploring Python Bytecode

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.