When we first started learning Python, we might have a question like: How does Python work?

After learning Python for a while, we might have a new problem: What does the Python virtual machine look like?

The Search for Python virtual machines/bytecodes will continue throughout our careers.

Recently at PyCon 2018, James Bennett gave A talk entitled A Bit About Bytes: Understanding Python Bytecode, which took us into the world of bytecodes/virtual machines.

PyCon China 2014 lecturer @Laike9M summed up this speech as follows:

James Bennett gave a brief introduction to Python bytecode and virtual machines. On bytecodes, he explains how to access Python bytecodes, the basic meaning of bytecodes, and after watching the talk we will be able to read most of the bytecodes to see how Python code is executed inside the interpreter. For virtual machines, stack-based execution is emphasized. Understanding the above will help you understand Python better and optimize your code better. But for all the obvious reasons, it’s not easy to watch videos on Youtube. Therefore, after getting authorization, we transported the video back to China and entrusted @Nuggets Translation Project to make it Into Chinese.

PyCon 2018: James Bennett– Understanding The Python Bytecode Nuggets Translation Project

Thanks again to the translators and proofreaders of @nuggets Translation Project for their work.

In addition, some Chinese videos will be released in the future