• Home
  • Raw
  • Download

Lines Matching refs:archive

5    :synopsis: Read and write ZIP-format archive files.
14 The ZIP file format is a common archive and compression standard. This module
72 Class used to represent information about a member of an archive. Instances
76 module. *filename* should be the full name of the archive member, and
92 The numeric constant for an uncompressed archive member.
131 Information about the Info-ZIP project's ZIP archive programs and development
154 ZIP file, then a new ZIP archive is appended to the file. This is meant for
155 adding a ZIP archive to another file (such as :file:`python.exe`). If
159 *compression* is the ZIP compression method to use when writing the archive,
173 writing files to the archive.
187 :meth:`closed <close>` without adding any files to the archive, the appropriate
188 ZIP structures for an empty archive will be written to the file.
226 Close the archive file. You must call :meth:`close` before exiting your program
232 Return a :class:`ZipInfo` object with information about the archive member
234 archive will raise a :exc:`KeyError`.
240 archive. The objects are in the same order as their entries in the actual ZIP
241 file on disk if an existing archive was opened.
246 Return a list of archive members by name.
251 Access a member of the archive as a binary file-like object. *name*
252 can be either the name of a file within the archive or a :class:`ZipInfo`
292 :meth:`open` can now be used to write files into the archive with the
302 Extract a member from the archive to the current working directory; *member*
330 Extract all members from the archive to the current working directory. *path*
353 Print a table of contents for the archive to ``sys.stdout``.
363 Return the bytes of the file *name* in the archive. *name* is the name of the
364 file in the archive, or a :class:`ZipInfo` object. The archive must be open for
379 Read all the files in the archive and check their CRC's and file headers.
390 Write the file named *filename* to the archive, giving it the archive name
396 The archive must be open with mode ``'w'``, ``'x'`` or ``'a'``.
400 Archive names should be relative to the archive root, that is, they should not
406 byte, the name of the file in the archive will be truncated at the null byte.
410 A leading slash in the filename may lead to the archive being impossible to
422 Write a file into the archive. The contents is *data*, which may be either
425 name it will be given in the archive, or a :class:`ZipInfo` instance. If it's
428 The archive must be opened with mode ``'w'``, ``'x'`` or ``'a'``.
575 archive.
582 added to the archive, compiling if necessary.
598 file path) before it is added to the archive. If *filterfunc* returns a
636 information about a single member of the ZIP archive.
649 If *arcname* is specified, it is used as the name within the archive.
672 Return ``True`` if this archive member is a directory.
681 Name of the file in the archive.
686 The time and date of the last modification to the archive member. This is a
712 Type of compression for the archive member.
717 Comment for the individual archive member as a :class:`bytes` object.
729 System which created ZIP archive.
734 PKZIP version which created ZIP archive.
739 PKZIP version needed to extract archive.
796 If you want to create a new ZIP archive, specify its name after the :option:`-c`
809 If you want to extract a ZIP archive into the specified directory, use
816 For a list of the files in a ZIP archive, use the :option:`-l` option:
877 decompression process may result in incomplete decompression of the archive.
884 For example, when extracting the same archive twice,