How do I access a module written in Python from C?
You can get a pointer to the module object by calling PyImport_ImportModule:
module = PyImport_ImportMod
You can get a pointer to the module object by calling PyImport_ImportModule:
module = PyImport_ImportMod