Parsing Python Bytecode with the dis Module

Опубликовано: 31 Май 2023
на канале: Python Clinic
873
40

If you're really interested in what happens under the hood with every Python operation, I'll show you and teach you how to understand bytecode. The built-in dis module lets you parse any object or piece of code into operations, but reading and understanding these operations will require some experience.

Documentation listing operations - https://docs.python.org/3/library/dis...

TG channel where I provide context for my videos - https://t.me/PythonClinicChnl

Timecodes:
00:00 - Intro (dog claws included)
00:21 - dis module
01:39 - Output format parsing
05:31 - Execution stack
06:55 - Parsing simple math operators
19:51 - Functions
24:00 - HOLE MYSTERY
26:24 - Recursion
36:02 - Cycles
42:12 - Comparisons are faster, raa ...


На этой странице сайта вы можете посмотреть видео онлайн Parsing Python Bytecode with the dis Module длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Python Clinic 31 Май 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 873 раз и оно понравилось 40 зрителям. Приятного просмотра!