twisted.python.modules._ZipMapImpl class documentationtwisted.python.modules
View Source
(View In Hierarchy)
Implements interfaces: twisted.python.modules.IPathImportMapper
IPathImportMapper implementation for zipimport.ZipImporter.
| Method | __init__ | Undocumented |
| Method | mapPath | Map the given FS path to a ZipPath, by looking at the ZipImporter's "archive" attribute and using it as our ZipArchive root, then walking down into the archive from there. |
Map the given FS path to a ZipPath, by looking at the ZipImporter's "archive" attribute and using it as our ZipArchive root, then walking down into the archive from there.
| Returns | a zippath.ZipPath
or zippath.ZipArchive
instance. | |