Mixing Python and C classes in a module

John Machin sjmachin at lexicon.net
Wed Oct 10 06:48:31 EDT 2007


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 :-)





More information about the Python-list mailing list