cpython
cpython copied to clipboard
zipimport.ZipImportError: can't find module 'my_module.sub_module' Documentation Problem
Documentation
The documentation for python3.12 says:
#This is for class zipimporter() load_module(fullname) Load the module specified by fullname. fullname must be the fully qualified (dotted) module name. Returns the imported module on success, raises ZipImportError on failure.
The problem is: fully qualified(dotted). It's not working that way It works for fully slash(/) module's name, not for fully qualified (dotted) module name.
Thanks for your effort and time.