John> Bottom line: the c-types module was a lot smaller, in Python, and John> completely comprehensible. And while I didn't measure the John> performance, I doubt if it was slower. One advantage SWIG (or Boost.Python) has over ctypes is that it will work with C++. Skip