Cython calculator Compiling Run this command to compile the .pyx file using this command: python setup.py build_ext --inplace This generates a .pyd file Executing Import the previously created .pyd file into a new .py file and run the functions created in cython