Mixing Python and C classes in a module
John Machin
sjmachin at lexicon.net
Wed Oct 10 06:48:31 EDT 2007
More information about the Python-list mailing list
Wed Oct 10 06:48:31 EDT 2007
- Previous message (by thread): struct.unpack less than 1 byte
- Next message (by thread): Mixing Python and C classes in a module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10/10/2007 1:02 PM, timaranz at gmail.com wrote: > > It is easier to do it the other way around. > Create module.py and _module.so and in module.py write: > > from _module.so import * It is even easier to type from _module import * and somewhat more productive, too :-)
- Previous message (by thread): struct.unpack less than 1 byte
- Next message (by thread): Mixing Python and C classes in a module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list