Getting module object by name in C extension module

Ilariu Raducan ilariu at
Wed Jul 14 11:57:41 CEST 2004

Hi All,

Is it possible in a C extension module to get a reference to an already loaded module?
Something like:
PyObject* module_object = Py......("module_name");

Thank You,

More information about the Python-list mailing list