Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...zip(a, b) [(1, 5), (2, 6), (3, 7), (4, 8)] >>> zip(a, d) [(1, 12), (2, 13)] >>> zip(a, b, c, d) [(1, 5, 9, 12), (2, 6, 10, 13)] Note that when the sequences are of the same length, zip() is reversible: >>> a = (1, 2, 3) >>> b = (4, 5, 6) >>> x = zip(a, b) >>> y = zip(*x) # alternatively, apply(zip, x) >>> z = zip(*y) # alternatively, apply(zip, y) >>> x [(1, 4), (2, 5), (3, 6)] >>> y [(1, 2, 3), (4, 5, 6)] >&...
...zip file archive. The zip archive can contain a subdirectory structure to support package imports. The zip archive satisfies imports exactly as a subdirectory would. The implementation is in C code in the Python core and works on all supported Python platforms. Any files may be present in the zip archive, but only files *.py and *.py[co] are available for import. Zip import of dynamic modules (*.pyd, *.so) is disallowed. Just as sys.path currently has default directory names, a default zip ar...
...zip and zip_longest lived alongside each other in itertools or as builtins, then adding zip_strict in the same location would indeed be a much stronger argument. However, the new "strict" variant is conceptually much closer to zip in interface and behavior than zip_longest, while still not meeting the high bar of being its own builtin. Given this situation, it seems most natural for zip to grow this new option in-place. Usability If zip is capable of preventing this class of bug, it becomes ...
...ZIP utility can handle #! at the beginning? Absolutely. The zipfile specification allows for arbitrary data to be prepended to a zipfile. This feature is commonly used by "self-extracting zip" programs. If your archive program can't handle this, it is a bug in your archive program. Isn't zipapp just a very thin wrapper over the zipfile module? Yes. If you prefer to build your own Python zip application archives using other tools, they will work just as well. The zipapp module is a convenien...
...ZIP archives available on python.org were created on Unix using the InfoZIP zip program, and the corresponding unzip program may be used to unpack them on Unix. On Windows, they may be unpacked using the free WiZ tool (from the InfoZIP developers) or the proprietary WinZip tool. Many other tools for handling ZIP archives are available; any of them should work. WinZip can also handle the gzipped tar archives if needed, but be careful that the filenames may be mangled if you download these using...
...ZIP BZip2 HTML 3639K 1366K PDF (US-Letter) 5314K 5242K PDF (A4) 5293K 5220K PostScript (US-Letter) 2280K 1656K PostScript (A4) 2285K 1660K GNU Info 932K LaTeX 1915K 1334K Contents These archives contain the following documents: What's New in Python 2.4.4 Python Tutorial Python Library Reference Macintosh Library Modules Python Reference Manual Extending and Embedding the Python Interpreter Python/C API Reference Manual Documenting Python Installing Python Modules Distribut...
...ZIP BZip2 HTML 4001K 1526K PDF (US-Letter) 5495K 5417K PDF (A4) 5465K 5491K PostScript (US-Letter) 2427K 1771K PostScript (A4) 2433K 1774K LaTeX 1910K 1333K Contents These archives contain the following documents: What's New in Python 2.5 Python Tutorial Python Library Reference Macintosh Library Modules Python Reference Manual Extending and Embedding the Python Interpreter Python/C API Reference Manual Documenting Python Installing Python Modules Distributing Python Modules The ...
...ZIP BZip2 HTML 4.0M 1.6M PDF (US-Letter) 5.3M 5.3M PDF (A4) 5.3M 5.3M PostScript (US-Letter) 2.5M 1.8M PostScript (A4) 2.5M 1.8M LaTeX 1.9M 1.3M Contents These archives contain the following documents: What's New in Python 2.5 Python Tutorial Python Library Reference Macintosh Library Modules Python Reference Manual Extending and Embedding the Python Interpreter Python/C API Reference Manual Documenting Python Installing Python Modules Distributing Python Modules The HTML bundle ...
...ZIP BZip2 HTML 4.0M 1.6M PDF (US-Letter) 5.3M 5.3M PDF (A4) 5.3M 5.3M PostScript (US-Letter) 2.5M 1.8M PostScript (A4) 2.5M 1.8M Contents These archives contain the following documents: What's New in Python 2.5 Python Tutorial Python Library Reference Macintosh Library Modules Python Reference Manual Extending and Embedding the Python Interpreter Python/C API Reference Manual Documenting Python Installing Python Modules Distributing Python Modules The HTML bundle also contain the ...
...zip is that while on POSIX operating systems .tar.gz is the default, on Windows .zip is the default and the bdist_wheel format also uses zip. Instead of trying to standardize on either .tar.gz or .zip, this PEP proposes that we allow either .tar.gz or .zip for sdists. Limiting number of sdists per release A sdist on PyPI should be a single source of truth for a particular release of software. However, currently PyPI allows you to upload one sdist for each of the sdist file extensions it allows...
Version: None
Released: Dec. 24, 2018
Note: The release you are looking at is a bugfix release for the legacy 3.7 series which has now reached end-of-life and is no longer supported. See the downloads page for currently supported versions of Python. The final source-only security fix release for 3.7 was 3.7.17. Among the major …
View Release Notes
Released: Aug. 25, 2015
Python 3.5.0rc2 Python 3.5 has reached end-of-life. Python 3.5.10, the final release of the 3.5 series, is available here. Python 3.5.0rc2 was released on August 25th, 2015. Major new features of the 3.5 series, compared to 3.4 Among the new major new features and changes in the 3.5 release series …
Released: Sept. 8, 2015
Python 3.5.0rc3 Python 3.5 has reached end-of-life. Python 3.5.10, the final release of the 3.5 series, is available here. Python 3.5.0rc3 was released on September 7th, 2015. Major new features of the 3.5 series, compared to 3.4 Among the new major new features and changes in the 3.5 release series …
Released: Sept. 9, 2015
Python 3.5.0rc4 Python 3.5 has reached end-of-life. Python 3.5.10, the final release of the 3.5 series, is available here. Python 3.5.0rc4 was released on September 9th, 2015. Major new features of the 3.5 series, compared to 3.4 Among the new major new features and changes in the 3.5 release series …
Released: Nov. 23, 2015
Python 3.5.1rc1 Python 3.5 has reached end-of-life. Python 3.5.10, the final release of the 3.5 series, is available here. Python 3.5.1rc1 was released on November 22th, 2015. Major new features of the 3.5 series, compared to 3.4 Among the new major new features and changes in the 3.5 release series …
Released: Dec. 7, 2015
Python 3.5.1 Python 3.5 has reached end-of-life. Python 3.5.10, the final release of the 3.5 series, is available here. Python 3.5.1 was released on December 6th, 2015. Major new features of the 3.5 series, compared to 3.4 Among the new major new features and changes in the 3.5 release series …
Released: June 13, 2016
Python 3.5.2rc1 Python 3.5 has reached end-of-life. Python 3.5.10, the final release of the 3.5 series, is available here. Python 3.5.2rc1 was released on June 12th, 2016. Major new features of the 3.5 series, compared to 3.4 Among the new major new features and changes in the 3.5 release series …
Python 3.5.2 Python 3.5.2 Note: Python 3.5.2 has been superseded by Python 3.5.6. Python 3.5.2 was released on June 26th, 2016. Major new features of the 3.5 series, compared to 3.4 Among the new major new features and changes in the 3.5 release series are PEP 441, improved Python zip application support PEP 448, additional unpacking generalizations PEP 461, "%-formatting" for bytes and bytearray objects PEP 465, a new operator (@) for matrix multiplication PEP 471, os.scandir...
Python 3.5.1 Python 3.5.1 Note: Python 3.5.1 has been superseded by Python 3.5.6. Python 3.5.1 was released on December 6th, 2015. Major new features of the 3.5 series, compared to 3.4 Among the new major new features and changes in the 3.5 release series are PEP 441, improved Python zip application support PEP 448, additional unpacking generalizations PEP 461, "%-formatting" for bytes and bytearray objects PEP 465, a new operator (@) for matrix multiplication PEP 471, os.scan...