[Tutor] VIX API

Kent Johnson kent37 at tds.net
Thu Oct 11 16:58:13 CEST 2007


Michael Langford wrote:

> Creating your own wrapper using swig(http://www.swig.org/) is not a bad 
> exercise if you've not done it. Callbacks are the only part that I'd 
> call really *hard* about wrapping a C Api using python, but debugging is 
> definitely different across language boundaries if you've not done it 
> before.
> 
> Now if you're really feeling like you want to cause yourself some pain, 
> you can try to hand code a python extension...but I suggest you try the 
> automated tool first....

IIUC the ctypes module is another option though I don't have any 
experience with it...

Kent


More information about the Tutor mailing list