PyImport_Import

Paul Miller paul at fxtech.com
Thu Feb 19 14:21:26 EST 2004


>How can I force to unload the old module so PyImport_Import function loads
>the new contents of the file?

Have you tried PyImport_ReloadModule()?

Try it right after importing the module the second time.








More information about the Python-list mailing list