[C++-sig] how can i import a module without executing any code?
fatfatson at gmail.com
Tue Apr 18 10:46:36 CEST 2006
when i use PyImport_Import() to import a module writen in Python, the global
statement in which will by executed automatically,
while i don't want so,i'd like the python-programmer to write their initial
code in a "init()" function, and i will call it in C at the proper time
how can i make it so?
thanks very much,especially for endureing my bad english:)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cplusplus-sig