PyDocs

Nav

Importing Modules

ModuleSpec.origin

The location the loader should use to load the module (see module.__file__). For example, for modules loaded from a .py file this is the filename. The finder should always set this attribute to a meaningful value for the loader to use. In the uncommon case that there is not one (like for namespace packages), it should be set to None.
0 Examples
No examples for importlib.machinery/ModuleSpec.origin.
See Also
No see-alsos for importlib.machinery/ModuleSpec.origin
0 Notes
No notes for ModuleSpec.origin