Interpreter

noun

say it: “in-TUR-pruh-ter” /ɪnˈtɜrprətər/

The program that reads your Python code and runs it, line by line; typing python in a terminal starts it.

What is the Python interpreter?

The interpreter is the program that reads your Python code and runs it, line by line. Typing python in a terminal starts it.

python hello.py      # runs the code in hello.py
python --version     # Python 3.12.4

In a sentence

  • “The interpreter ran hello.py when we typed python hello.py.”
  • “python --version shows which interpreter you have installed.”

Level: Novice · More Python terms at this level

Updated