0

How the python interpreter works?

I really want to know how does python interpreter works. How it manage to run on almost every type of computer. Is it like JVM ?

18th Dec 2016, 4:20 AM
Ramesh Neupane
Ramesh Neupane - avatar
1 Antwort
0
It depends on the implementation of Python. CPython's interpreter is the one you have if you have installed the classical Python. It is written in C, so it is able to run on any Operating System. I don't really know how it works but I know it is not like the JVM. However, PyPy's interpreter *is* like the JVM, but I don't know much more.
18th Dec 2016, 5:12 PM
Amaras A
Amaras A - avatar