PyDocs
Standard Library
(3.15.2)
Quick Reference
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Data Compression and Archiving
bz2
compression
compression.zstd
gzip
lzma
tarfile
zipfile
zlib
All modules
PyDocs
Standard Library
Quick Ref
Log In
Staging: this is not the live site, pydocs.org.
PyDocs
Standard Library
Quick Ref
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Data Compression and Archiving
bz2
compression
zstd
gzip
lzma
tarfile
zipfile
zlib
All modules
GzipFile.mode
gzip
attribute of
GzipFile
'rb' for reading and 'wb' for writing.
© Python Software Foundation.
PSF License Version 2
·
Official docs ↗
Changed in 3.13
3.13:
In previous versions it was an integer 1 or 2.
0 Examples
No examples for gzip/GzipFile.mode.
Log in
to add an example
See Also
No see-alsos for
gzip/GzipFile.mode
Log in
to add a see-also
0 Notes
No notes for
GzipFile.mode
Log in
to add a note