zaley wrote: > In my C++ program ,python is embeded . I import One module(py file) > and execute some functions .Then I modify py files in order to modify > func parameters when process is still running .I import the module and > execute functions again.But I find the result is same as before
'import' is cached. If do want Python to re-import a <module> just call reload(<module.) -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany -- http://mail.python.org/mailman/listinfo/python-list