Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | writepy |
![]() | |
def | __init__ |
def | namelist |
def | infolist |
def | printdir |
def | testzip |
def | getinfo |
def | read |
def | write |
def | writestr |
def | __del__ |
def | close |
Additional Inherited Members | |
![]() | |
debug | |
NameToInfo | |
filelist | |
compression | |
mode | |
filename | |
start_dir | |
![]() | |
fp = None | |
Class to create ZIP archives with Python library files and packages.
Definition at line 495 of file zipfile.py.
def writepy | ( | self, | |
pathname, | |||
basename = "" |
|||
) |
Add all files from "pathname" to the ZIP archive. If pathname is a package directory, search the directory and all package subdirectories recursively for all *.py and enter the modules into the archive. If pathname is a plain directory, listdir *.py and enter all modules. Else, pathname must be a Python *.py file and the module will be put into the archive. Added modules are always module.pyo or module.pyc. This method will compile the module.py into module.pyc if necessary.
Definition at line 498 of file zipfile.py.
References PyZipFile._get_codename(), py_compile.compile(), shlex.debug, FTP.debug, ZipFile.debug, NNTP.debug, dispatcher.debug, Devnull.write(), Pickler.write, openrsrc.write(), _Hqxcoderengine.write(), StreamWriter.write(), GzipFile.write(), StringIO.write(), _Rlecoderengine.write(), InteractiveInterpreter.write(), _fileobject.write(), BinHex.write(), Telnet.write(), StreamReaderWriter.write(), ConfigParser.write(), ZipFile.write(), _SpoofOut.write(), StreamRecoder.write(), Marshaller.write, file_wrapper.write, and PyZipFile.writepy().