Python QA Part-2: Getting Started

1. What is the Python interpreter?

The Python interpreter is a program that runs the Python programs you write.

2. What is source code?

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. What is byte code?

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. What is the PVM?

The PVM is the Python Virtual Machine—the runtime engine of Python that interprets your compiled byte code.

5. Name two variations on Python’s standard execution model.

Psyco, Shedskin, and frozen binaries are all variations on the execution model.

6. How are CPython, Jython, and IronPython different?

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.

Thank you for reading.

<- Part-1 | Part-3 ->

One Comment

  1. Pingback: Python QA Part-1: Getting Started –

Leave a Reply