Demystifying Python, CPython, Cython, PyPy & PyPI

Let’s identify and clear the confusion about some common terms related to Python.

The official, reference implementation of Python, with two major releases: Python 2 and Python 3. It works as a Python source code interpreter and it is written in C. It is maintained by the Python Software Foundation.
A widely used optimising Python-to-C compiler. The Cython language is a superset of the Python language that additionally supports calling C functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code.
Read more →

Python Tools for Visual Studio extension (PTVS)

Read more →

Compiling Python Source into Bytecode

Normally, when a python module is imported, python automatically generate a .pyc file containing the compiled byte code. The next time the same program is run, the compilation step can thus be skipped.

However, in order to manually pre-compile the python modules even before running them, here are two ways of doing it:

Read more →