Python has several different implementations, written in various languages. Iska mtlb kya hae | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Python has several different implementations, written in various languages. Iska mtlb kya hae

29th Apr 2020, 2:14 PM
Riya
Riya - avatar
3 Answers
+ 3
The default implementation of the Python programming language is Cpython. As the name suggests Cpython is written in C language. Cpython compiles the python source code into intermediate bytecode, which is executed by the Cpython virtual machine. CPython is distributed with a large standard library written in a mixture of C and Python. CPython provides the highest level of compatibility with Python packages and C extension modules. 
29th Apr 2020, 2:16 PM
Prabhat Ranjan
Prabhat Ranjan - avatar
+ 2
Less or more: I guess that python bytecode is not as portable as java bytecode... for the later you just have to generate the bytecode once, and it will work in java machine on any platform, while with former the source script is shared and the bytecode is generated on each "client"/user machine/platform (module could be distributed as precompiled or C/C++ resources, but each platform needs its version)
29th Apr 2020, 4:35 PM
visph
visph - avatar
0
Cpython virtual Machine is like jvm ?
29th Apr 2020, 2:21 PM
Riya
Riya - avatar