I\'m trying to access a shared C library in Python with ctypes on Mac OS X 10.6.8 with Python 2.7.4. To do this, I need to #include
ctypes
#include
Python is a framework on Mac OS X so you need to,
You also need to call gcc with the -framework argument to actually do anything inside C,
gcc
-framework
gcc -shared -o sample.so sample.c -framework Python