Staging: this is not the live site, pydocs.org.
Data Compression and Archiving
Put the bytes from filename into the archive under the name
arcname.
Changed in 3.6
- 3.6: Calling write() on a ZipFile created with mode 'r' or a closed ZipFile will raise a ValueError. Previously, a RuntimeError was raised.