Is ctypes appropriate in my case?

dudeja.rajat at gmail.com dudeja.rajat at gmail.com
Thu Oct 30 15:43:50 CET 2008


> For CPython, an importable module written in C.  There is a doc Extending
> and Embedding the Python Interpreter.  But I expect you can write the class
> in Python with ctypes.

Thanks Terry. I'll be using ctypes now and have started writing the class.
But the problem is that there are some 150 APIs exposed by the dll. Is there
any tool that can autogenerate some of the member functions for the class
since new APIs might as well get added in future.

Could SWIG be of use here?

Cheers,
Rajat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081030/89f53c51/attachment.html>


More information about the Python-list mailing list