archive.ArchiveReader
A file archive reader and extractor.
Members
extract_file
archive.ArchiveReader.extract_file(path)Extract a file from the archive.
Parameters
pathstringThe file path in the archive.Returns
filescriptrt.FileThe extracted file.extract_files
archive.ArchiveReader.extract_files(pattern)Extract all files from the archive.
Parameters
patternstringThe pattern to match against the file names.Returns
fileslist[scriptrt.File]A list of extracted files.list_files
archive.ArchiveReader.list_files()List all file names in the archive.
Returns
fileslist[string]A list of file names in the archive.