Test Your Knowledge: Answers

 

 
  1. The Python interpreter is a program that runs the Python programs you write.
  2. Source code is the statements you write for your program—it consists of text in text files that normally end with a .py extension.
  3. Byte code is the lower-level form of your program after Python compiles it. Python automatically stores byte code in files with a .pyc extension.
  4. The PVM is the Python Virtual Machine—the runtime engine of Python that interprets your compiled byte code.
  5. Psyco, Shedskin, and frozen binaries are all variations on the execution model.
  6. CPython is the standard implementation of the language. Jython and IronPython implement Python programs for use in Java and .NET environments, respectively; they are alternative compilers for Python.