1{% extends "layout.html" %}
2{% set title = 'Download' %}
3{% if daily is defined %}
4  {% set dlbase = pathto('archives', 1) %}
5{% else %}
6  {#
7    The link below returns HTTP 404 until the first related alpha release.
8    This is expected; use daily documentation builds for CPython development.
9  #}
10  {% set dlbase = 'https://docs.python.org/ftp/python/doc/' + release %}
11{% endif %}
12
13{% block body %}
14<h1>Download Python {{ release }} Documentation</h1>
15
16{% if last_updated %}<p><b>Last updated on: {{ last_updated }}.</b></p>{% endif %}
17
18<p>To download an archive containing all the documents for this version of
19Python in one of various formats, follow one of links in this table.</p>
20
21<table class="docutils">
22  <tr><th>Format</th><th>Packed as .zip</th><th>Packed as .tar.bz2</th></tr>
23  <tr><td>PDF (US-Letter paper size)</td>
24    <td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.zip">Download</a> (ca. 13 MiB)</td>
25    <td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.tar.bz2">Download</a> (ca. 13 MiB)</td>
26  </tr>
27  <tr><td>PDF (A4 paper size)</td>
28    <td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.zip">Download</a> (ca. 13 MiB)</td>
29    <td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.tar.bz2">Download</a> (ca. 13 MiB)</td>
30  </tr>
31  <tr><td>HTML</td>
32    <td><a href="{{ dlbase }}/python-{{ release }}-docs-html.zip">Download</a> (ca. 9 MiB)</td>
33    <td><a href="{{ dlbase }}/python-{{ release }}-docs-html.tar.bz2">Download</a> (ca. 6 MiB)</td>
34  </tr>
35  <tr><td>Plain Text</td>
36    <td><a href="{{ dlbase }}/python-{{ release }}-docs-text.zip">Download</a> (ca. 3 MiB)</td>
37    <td><a href="{{ dlbase }}/python-{{ release }}-docs-text.tar.bz2">Download</a> (ca. 2 MiB)</td>
38  </tr>
39 <tr><td>EPUB</td>
40    <td><a href="{{ dlbase }}/python-{{ release }}-docs.epub">Download</a> (ca. 5 MiB)</td>
41    <td></td>
42  </tr>
43</table>
44
45<p>These archives contain all the content in the documentation.</p>
46
47
48<h2>Unpacking</h2>
49
50<p>Unix users should download the .tar.bz2 archives; these are bzipped tar
51archives and can be handled in the usual way using tar and the bzip2
52program. The <a href="http://www.info-zip.org">InfoZIP</a> unzip program can be
53used to handle the ZIP archives if desired. The .tar.bz2 archives provide the
54best compression and fastest download times.</p>
55
56<p>Windows users can use the ZIP archives since those are customary on that
57platform. These are created on Unix using the InfoZIP zip program.</p>
58
59
60<h2>Problems</h2>
61
62<p>If you have comments or suggestions for the Python documentation, please send
63email to <a href="mailto:[email protected]">[email protected]</a>.</p>
64{% endblock %}
65