removing module

Bart uzi18 at o2.pl
Mon Apr 30 17:08:30 EDT 2007


I have static linked module in application plugin.

Thirst thing how to remove this module from memory after Py_Finalize();
Because there is segfault after - deactivate,activate this plugin.

PyImport_AppendInittab("module_name",init_module_name);
Py_Initialize();

How to check what provides this module ?
import sys
print sys.modules  (is loaded?)

dir(module_name)      is it enough?

Thanks for Help.
Bart.




More information about the Python-list mailing list