Trees | Indices | Help |
|
---|
|
object --+ | zipimporter
zipimporter(archivepath) -> zipimporter object
Create a new zipimporter instance. 'archivepath' must be a path to a zipfile. ZipImportError is raised if 'archivepath' doesn't point to a valid Zip archive.
|
|||
|
|||
zipimporter object |
|
||
a new object with type S, a subtype of T |
|
||
|
|||
self or None |
|
||
code object |
|
||
string with file data |
|
||
source string |
|
||
bool |
|
||
module |
|
||
Inherited from |
|
|||
_files | |||
archive | |||
prefix | |||
|
x.__getattribute__('name') <==> x.name
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
repr(x)
|
Search for a module specified by 'fullname'. 'fullname' must be the fully qualified (dotted) module name. It returns the zipimporter instance itself if the module was found, or None if it wasn't. The optional 'path' argument is ignored -- it's there for compatibility with the importer protocol.
|
Return the code object for the specified module. Raise ZipImportError is the module couldn't be found.
|
Return the data associated with 'pathname'. Raise IOError if the file wasn't found.
|
Return the source code for the specified module. Raise ZipImportError is the module couldn't be found, return None if the archive does contain the module, but has no source for it.
|
Return True if the module specified by fullname is a package. Raise ZipImportError is the module couldn't be found.
|
Load the module specified by 'fullname'. 'fullname' must be the fully qualified (dotted) module name. It returns the imported module, or raises ZipImportError if it wasn't found.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Tue Jan 29 22:44:40 2008 | http://epydoc.sourceforge.net |