Lines Matching defs:from
1 """zipimport provides support for importing Python modules from Zip archives.
15 #from importlib import _bootstrap_external
16 #from importlib import _bootstrap # for _verbose_message
18 from _frozen_importlib_external import _unpack_uint16, _unpack_uint32
61 # Split the "subdirectory" from the Zip archive path, lookup a matching
62 # entry in sys.path_importer_cache, fetch the file directory from there
63 # if found, or else read it from the archive.
227 # would come from if the module was actually loaded
310 _bootstrap._verbose_message('import {} # loaded from Zip {}', fullname, modpath)
325 from importlib.readers import ZipReader
393 # file_offset, # offset of file header from start of archive
527 # package from a ZIP file. But the cp437 encoding is implemented
576 from zlib import decompress
714 # strip 'c' or 'o' from *.py[co]
732 # strip 'c' or 'o' from *.py[co]
776 raise ZipImportError(msg, name=fullname) from import_error