extending and embedding python and c

Ngoc edo4 at emich.edu
Wed Feb 12 15:11:46 EST 2003


I write a small C dll module to return string.  A python script and C
main program.  C embedding python, and python script extending to c
function (writen in dll)
When I run python script, the result is fine.
When I attempt to run C main program,  I get the module import error
message.
I set the PYTHONPATH enviroment to my module folder.  What else do I
need to set?  I'm a new learner in python.  I just try to use python
as interface between c function call.  Please help!! Step by step.

Ngoc




More information about the Python-list mailing list