Handling C structs in python

Mathias Mølster Lidal mathiasm at pvv.org
Mon Oct 1 13:11:42 EDT 2001


"Ivan A. Vigasin" <vig at ParallelGraphics.COM> writes:

> Hello, All
> 
> I'm writing python extension and need to pass C structs from C++ to python.
> 
> What is the usual way of doing whis?
> 

Use the struct-module. 
(http://www.python.org/doc/current/lib/module-struct.html)

Mathias Lidal




More information about the Python-list mailing list