4 AnswersNew Answer
Haha, nice analogy HonFu . How about one for compiler or an assembler? Let's try a different analogy. How about a chef? You tell him what you want. He looks up the instructions in the reference manual possibly doing some from (his) memory. The difference is you have to tell the interpreter how to do something in explicit steps. Make a nice dish to a chef. Becomes giving it instructions like: 1. Fetch the ingredients(vegetables, flavours, spices) 2. Cut the vegetables, then boil them. 3. Mix with the spices. At last serve it in a plate--follow a video of a chef doing it. Relevant discussions: https://www.sololearn.com/discuss/838697/?ref=app https://www.sololearn.com/discuss/314310/?ref=app https://www.sololearn.com/discuss/1249742/?ref=app
The definition from wikipedia: An interpreter (in the sense of software engineering) is a computer program which, unlike assemblers or compilers, does not translate a program source code into a directly executable file on the system, but reads, analyzes and executes the source code. The translation of the source code thus takes place during the runtime of the program.
Maybe you're the one being mean to the interpretater, meanie! 😡
A program that plays your python script like a CD player plays your CDs.