• Home
  • Raw
  • Download

Lines Matching refs:archive

5    :synopsis: Read and write ZIP-format archive files.
15 The ZIP file format is a common archive and compression standard. This module
54 Class used to represent information about a member of an archive. Instances
58 module. *filename* should be the full name of the archive member, and
74 The numeric constant for an uncompressed archive member.
90 Information about the Info-ZIP project's ZIP archive programs and development
107 ZIP file, then a new ZIP archive is appended to the file. This is meant for
108 adding a ZIP archive to another file (such as :file:`python.exe`).
113 *compression* is the ZIP compression method to use when writing the archive,
127 :meth:`closed <close>` without adding any files to the archive, the appropriate
128 ZIP structures for an empty archive will be written to the file.
143 Close the archive file. You must call :meth:`close` before exiting your program
149 Return a :class:`ZipInfo` object with information about the archive member
151 archive will raise a :exc:`KeyError`.
157 archive. The objects are in the same order as their entries in the actual ZIP
158 file on disk if an existing archive was opened.
163 Return a list of archive members by name.
171 Extract a member from the archive as a file-like object (ZipExtFile). *name* is
172 the name of the file in the archive, or a :class:`ZipInfo` object. The *mode*
208 Extract a member from the archive to the current working directory; *member*
231 Extract all members from the archive to the current working directory. *path*
251 Print a table of contents for the archive to ``sys.stdout``.
263 Return the bytes of the file *name* in the archive. *name* is the name of the
264 file in the archive, or a :class:`ZipInfo` object. The archive must be open for
275 Read all the files in the archive and check their CRC's and file headers.
282 Write the file named *filename* to the archive, giving it the archive name
286 the new entry. The archive must be open with mode ``'w'`` or ``'a'`` -- calling
300 Archive names should be relative to the archive root, that is, they should not
306 byte, the name of the file in the archive will be truncated at the null byte.
311 Write the string *bytes* to the archive; *zinfo_or_arcname* is either the file
312 name it will be given in the archive, or a :class:`ZipInfo` instance. If it's
314 name, the date and time is set to the current date and time. The archive must be
347 truncated in the written archive when :meth:`.close` is called.
361 Search for files :file:`\*.py` and add the corresponding file to the archive.
389 information about a single member of the ZIP archive.
396 Name of the file in the archive.
401 The time and date of the last modification to the archive member. This is a
427 Type of compression for the archive member.
432 Comment for the individual archive member.
443 System which created ZIP archive.
448 PKZIP version which created ZIP archive.
453 PKZIP version needed to extract archive.
510 If you want to create a new ZIP archive, specify its name after the :option:`-c`
523 If you want to extract a ZIP archive into the specified directory, use
530 For a list of the files in a ZIP archive, use the :option:`-l` option: