How to call and execute C code in Python?

Barry Scott barry at barrys-emacs.org
Wed May 16 17:52:08 EDT 2012


There are many choices rather then raw python C API calls. Boost, PyCXX and ctypes are worth investigating. PyCXX requires you code in C++ but hides lots of the issues of using the Python API from you. It also supports python 2 and 3. 

Barry - PyCXX maintainer




More information about the Python-list mailing list