Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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