Opens a module. If the module has already been opened, its reference count is incremented.
First of all Module.open tries to open file_name as a module. If that fails and file_name has the ".la"-suffix (and is a libtool archive) it tries to open the corresponding module. If that fails and it doesn't have the proper module suffix for the platform (G_MODULE_SUFFIX), this suffix will be appended and the corresponding module will be opened. If that fails and file_name doesn't have the ".la"-suffix, this suffix is appended and Module.open tries to open the corresponding module. If eventually that fails as well, NULL is returned.
the name of the file containing the module, or NULL to obtain a glib.Module representing the main program itself
the flags used for opening the module. This can be the logical OR of any of the GModuleFlags