
Bytecode and .pyc files (sps25)
Chaos Computer Club - recent events feed · Konrad Gawda
October 16, 202536m 7s
Audio is streamed directly from the publisher (cdn.media.ccc.de) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
Bytecode, the internal language of instructions used by the interpreter is something that perhaps most Python developers have heard about, but few have dug into. This talk will try to explain the idea behind bytecode and how it works. We will see how to extract bytecode from functions - with `dis` module, and from `.pyc` files (and what is the idea of `__pycache__` directories). Then, the other way around: we’ll check the possibility of building new functions with raw bytes in runtime.
about this event: https://talks.python-summit.ch/sps25/talk/9NWPB9/
Topics
564442025sps25Pythonthe programming language you loveAulasps25-eng