Mar-04-2018, 08:42 PM
Is Python some sort of an interpreter?
Do you need to have Python on a machine in order to run a Python program?
And does Python then actually read the source code and interpret that into machine instructions?
I'm asking because I think C is a compiler. Once you compile the code to a *.exe file you no longer need to have the C language on the computer. The program has now been complied into machine executable code that the CPU can process directly.
Is this correct?
Do you need to have Python on a machine in order to run a Python program?
And does Python then actually read the source code and interpret that into machine instructions?
I'm asking because I think C is a compiler. Once you compile the code to a *.exe file you no longer need to have the C language on the computer. The program has now been complied into machine executable code that the CPU can process directly.
Is this correct?