Accessing c objects in python

Gary magik1300 at aol.com
Thu Aug 7 10:30:34 EDT 2003


Hi-

I've been searching the web for a while and I've been unable to find a
way to access c data objects in python without using SWIG.  I can do
methods just fine but I can't access variables.  It seems like
PyModule_AddObject should work but it segfaults my program.  There's a
good chance I'm just using it wrong, or I should be using something
else.  Could someone give me a simple, complete example pretty please?
 Thanks!

Gary




More information about the Python-list mailing list