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