Python can interface with C code using the built-in ctypes library, but ctypes is notoriously clunky. The third-party CFFI project offers a more streamlined way to build interfaces between Python programs and C libraries. This video shows the basics of using CFFI, including how talking to a C library can be as easy as copying and pasting a C library header into your Python code.
Register Now