extending and embedding python and c

Just just at xs4all.nl
Wed Feb 12 23:34:40 CET 2003


In article <99457f2.0302121211.4967ce40 at posting.google.com>,
 edo4 at emich.edu (Ngoc) wrote:

> 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.

I don't think we can help without knowing more details. However, 
regarding embedding and extending, this article is quite interesting, 
although perhaps a bit extreme (but then again, it's labeled as a 
rant...):

  http://twistedmatrix.com/users/glyph/rant/extendit.html

Just




More information about the Python-list mailing list