Possible Duplicate:
CPython is bytecode interpreter?
My question is:
Does Python use a compiler, an interpreter or a combination of them?
Possible Duplicate:
CPython is bytecode interpreter?
My question is:
Does Python use a compiler, an interpreter or a combination of them?
Python uses a virtual machine aproach (as PHP, Ruby, .NET languages etc), python implementation uses a compiler to create intermediate language that is executed on a virtual machine.
yes it use an interpreter, just run the .py and then it will be ecxecuted! if you want to compile your script to run on another machine as a .exe program you can compile it with th py2exe library