<DIV>PythoidC (<A href="http://pythoidc.sourceforge.net/">http://pythoidc.sourceforge.net/</A>) provides an easy way for developing and importing C modules into Python environment. There are some examples, may be of some help to you. </DIV>
<DIV>With PythoidC, Python programmers can write, debug, commpile, C codes all in Python IDE, and do not have to tackel the boring braces {} and line-end semicolons ; </DIV>
<DIV>PythoidC automatically parses C header files, make corresponding Python objects, thus Python programmer can essily introspect into C ... ...</DIV>
<DIV>CHEN Guang</DIV>
<DIV>
<DIV>----- Original Message ----- 
<DIV>From: "booncw" <<A href="mailto:chiaweng@gmail.com">chiaweng@gmail.com</A>></DIV>
<DIV>To: <<A href="mailto:python-list@python.org">python-list@python.org</A>></DIV>
<DIV>Sent: Tuesday, April 06, 2010 9:58 PM</DIV>
<DIV>Subject: Loading an imported module (C API)</DIV></DIV>
<DIV><BR></DIV>> Hi,<BR>> <BR>> I am running a simulation where the python module has already been<BR>> imported.   Could you please tell me how to load it?<BR>> <BR>> I've been doing this (importing everytime), but it is too slow:<BR>> pModule = PyImport_Import(pName);<BR>> <BR>> <BR>> Yours,<BR>> <BR>> Boon<BR>> <BR>></DIV><br><br><span title="neteasefooter"/></span>