C from Python This dir shows how to call C functions from python on Linux. The more portable way is to do this with a setup.py + distutils. TODO do it.