steps: convert .py to .pyx use cython to convert .pyx to .c compile .c Test run example python file: script.py