[SciPy-user] Using ctypes and scipy
Prabhu Ramachandran
prabhu_r at users.sf.net
Wed Nov 23 00:23:50 EST 2005
>>>>> "Travis" == Travis Oliphant <oliphant at ee.byu.edu> writes:
Travis> I'm including a (small) section in my book on the use of
Travis> ctypes with scipy. But, I wanted to let users know a
Travis> little bit of how nifty it can be for calling out to an
Travis> external compiled-library. Ctypes is an additional Python
Travis> module downloaded separately ( see
Travis> http://starship.python.net/crew/theller/ctypes/ )
[...]
Travis> Kind of nifty, no?
Definitely! Thanks for the tip! While I think using scipy.weave is a
lot cleaner, this is certainly useful to know! In fact, this is an
interesting way to write a pure Python wrapper for a C library.
cheers,
prabhu
More information about the SciPy-User
mailing list