What is the difference between python and cpython | Sololearn: Learn to code for FREE!

0

What is the difference between python and cpython

python and cpython

5/15/2018 5:54:38 AM

Rudransh Sharma

2 Answers

New Answer

+2

CPython is the original Python implementation. It is the implementation you download from Python.org. People call it CPython to distinguish it from other, later, Python implementations, and to distinguish the implementation of the language engine from the Python programming language itself. The latter part is where your confusion comes from; you need to keep Python-the-language separate from whatever runs the Python code. CPython happens to be implemented in C. That is just an implementation detail, really. CPython compiles your Python code into bytecode (transparently) and interprets that bytecode in a evaluation loop. CPython is also the first to implement new features; Python-the-language development uses CPython as the base; other implementations follow. [stackoverflow https://stackoverflow.com/questions/17130975/python-vs-cpython ]

0

Copy what Brains said. Additionally there are tools to convert Python-the-language back to CPython. In many cases, that can improve speed of code execution. Here is Tutorial I liked: https://m.youtube.com/watch?v=mXuEoqK4bEc