cpython icon indicating copy to clipboard operation
cpython copied to clipboard

zipimport.ZipImportError: can't find module 'my_module.sub_module' Documentation Problem

Open pumkin55 opened this issue 2 years ago • 1 comments

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.

pumkin55 avatar Oct 27 '23 01:10 pumkin55