code by the compiler and stored in .pyc or .pyo format.
Then it's sent to interpreter, PVM(python virtual environment) converts the byte code into machine executable code(.py file) and executes it.
Am I right about how the python works?
Python has a compiler?
Interpreter
I said the same thing
nope, read yours again
Never heard of pvm before, neither could find anything about it in the official docs. Anyways, also look at this: https://stackoverflow.com/questions/441824/java-virtual-machine-vs-python-interpreter-parlance
I read about it in 2 books and online too
Обсуждают сегодня