An interpreter translates and executes a program one statement at a time.
A compiler translates the entire source program into a machine-language file for execution.
Python解释器(Interpreter)的作用,通俗理解,就是起到一个翻译的作用,把程序员所编写的代码翻译为计算机能读懂执行的代码。简单地说,Python解释器对输入的Python代码进行解释和执行。Python解释器有多种实现。