C wrapper

Farshid Lashkari no at spam.com
Tue Nov 7 21:06:35 CET 2006


Sheldon wrote:
> Can anyone give me some idea as to what this error means?
> 
> "ImportError: dynamic module does not define init function "
> 
> I am new at this and there is still a lot to learn.
> 
> Any help is appreciated,

Take a look at the documentation for creating extension modules, 
especially the following page:

http://docs.python.org/ext/methodTable.html

"The initialization function must be named initname(), where name is the 
name of the module, and should be the only non-static item defined in 
the module file"

-Farshid



More information about the Python-list mailing list