C pointer representation in python

Terry Reedy tjreedy at udel.edu
Mon Nov 26 20:55:01 CET 2007


<abarun22 at gmail.com> wrote in message 
news:f58fb0de-9e3f-4a88-a0b4-211d2fd3fc97 at d4g2000prg.googlegroups.com...
| Hi
| I am new to SWIG and python. I have a problem while trying to call a C
| function from Python using SWIG as an interface.

Did you consider using the ctypes module?
(It is new in the stdlib for 2.5, I believe.)
Some consider it easier to use than swig. 






More information about the Python-list mailing list