FAQrank / Editorial desk

Document-wide review / pinned version

general.rst

SHA256 032069d738fc8ef2cc907e1d79e2b19898978dab722cd30c108684a29cd1cf0e

Original language: English. Boolean values describe exact syntax only. Review cues below are proposals, not applied edits or demonstrated improvements.

Observed criteria and heading jumps

Counts are exact syntax observations, not quality scores. Choose a heading to inspect its retained finding.

Q1 / true: 23 / false: 3
D1 / true: 0 / false: 26
E1 / true: 2 / false: 24

R1 / Unresolved within this document (null): 3

duplicate_of_line null means no earlier matching heading; it is not an untested duplicate result.

All heading jumps
  1. General Python FAQ
  2. General Information
  3. What is Python?
  4. What is the Python Software Foundation?
  5. Are there copyright restrictions on the use of Python?
  6. Why was Python created in the first place?
  7. What is Python good for?
  8. How does the Python version numbering scheme work?
  9. How do I obtain a copy of the Python source?
  10. How do I get documentation on Python?
  11. I've never programmed before. Is there a Python tutorial?
  12. Is there a newsgroup or mailing list devoted to Python?
  13. How do I get a beta test version of Python?
  14. How do I submit bug reports and patches for Python?
  15. Are there any published articles about Python that I can reference?
  16. Are there any books on Python?
  17. Where in the world is www.python.org located?
  18. Why is it called Python?
  19. Do I have to like "Monty Python's Flying Circus"?
  20. Python in the real world
  21. How stable is Python?
  22. How many people are using Python?
  23. Have any significant projects been done in Python?
  24. What new developments are expected for Python in the future?
  25. Is it reasonable to propose incompatible changes to Python?
  26. Is Python a good language for beginning programmers?
Python 3.14.10 FAQ browser view. PSF license. Context only; the structural review uses a separately pinned RST file.
Python 3.14.10 FAQ browser view. PSF license. Context only; the structural review uses a separately pinned RST file. Full resolution / Open reference / Rights and capture notes

Every detected heading

L4–5 / Source

General Python FAQ

Q1
false
D1
false / earlier line: null
E1
false / L6–12

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L13–14 / Source

General Information

Q1
false
D1
false / earlier line: null
E1
true / L15–15

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L16–17 / Source

What is Python?

Q1
true
D1
false / earlier line: null
E1
false / L18–33

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L34–35 / Source

What is the Python Software Foundation?

Q1
true
D1
false / earlier line: null
E1
false / L36–47

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L48–49 / Source

Are there copyright restrictions on the use of Python?

Q1
true
D1
false / earlier line: null
E1
false / L50–65

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L66–67 / Source

Why was Python created in the first place?

Q1
true
D1
false / earlier line: null
E1
false / L68–108

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L109–110 / Source

What is Python good for?

Q1
true
D1
false / earlier line: null
E1
false / L111–127

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L128–129 / Source

How does the Python version numbering scheme work?

Q1
true
D1
false / earlier line: null
E1
false / L130–168

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L169–170 / Source

How do I obtain a copy of the Python source?

Q1
true
D1
false / earlier line: null
E1
false / L171–185

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L186–187 / Source

How do I get documentation on Python?

Q1
true
D1
false / earlier line: null
E1
false / L188–197

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L198–199 / Source

I've never programmed before. Is there a Python tutorial?

Q1
true
D1
false / earlier line: null
E1
false / L200–207

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L208–209 / Source

Is there a newsgroup or mailing list devoted to Python?

Q1
true
D1
false / earlier line: null
E1
false / L210–226

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L227–228 / Source

How do I get a beta test version of Python?

Q1
true
D1
false / earlier line: null
E1
false / L229–238

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L239–240 / Source

How do I submit bug reports and patches for Python?

Q1
true
D1
false / earlier line: null
E1
false / L241–248

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L249–250 / Source

Are there any published articles about Python that I can reference?

Q1
true
D1
false / earlier line: null
E1
false / L251–261

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L262–263 / Source

Are there any books on Python?

Q1
true
D1
false / earlier line: null
E1
false / L264–271

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L272–273 / Source

Where in the world is www.python.org located?

Q1
true
D1
false / earlier line: null
E1
false / L274–278

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L279–280 / Source

Why is it called Python?

Q1
true
D1
false / earlier line: null
E1
false / L281–288

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L289–290 / Source

Do I have to like "Monty Python's Flying Circus"?

Q1
true
D1
false / earlier line: null
E1
false / L291–294

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L295–296 / Source

Python in the real world

Q1
false
D1
false / earlier line: null
E1
true / L297–297

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L298–299 / Source

How stable is Python?

Q1
true
D1
false / earlier line: null
E1
false / L300–316

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L317–318 / Source

How many people are using Python?

Q1
true
D1
false / earlier line: null
E1
false / L319–330

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L331–332 / Source

Have any significant projects been done in Python?

Q1
true
D1
false / earlier line: null
E1
false / L333–346

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L347–348 / Source

What new developments are expected for Python in the future?

Q1
true
D1
false / earlier line: null
E1
false / L349–359

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L360–361 / Source

Is it reasonable to propose incompatible changes to Python?

Q1
true
D1
false / earlier line: null
E1
false / L362–374

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

L375–376 / Source

Is Python a good language for beginning programmers?

Q1
true
D1
false / earlier line: null
E1
false / L377–449

Review cue: preserve section labels when appropriate; only rewrite as a question when its editorial role calls for one. Inspect the bounded block before deciding whether an answer is missing.

R1 / Explicit references

L29 :ref:`tutorial-index` / local target line: null / null

L120 :ref:`library-index` / local target line: null / null

L202 :ref:`tutorial-index` / local target line: null / null

Natural-language references and cross-document resolution were not tested: null.

Criteria you can reproduce

Q1: a heading ends in ?. D1: its NFC, whitespace-collapsed, casefolded key appeared earlier in this document. E1: all lines between this heading underline and the next heading are whitespace. R1: explicit :ref: targets resolve only when a matching local label exists. Missing local targets are null, not broken links.

All detected RST headings are retained, including document and section headings. Underlines are three or more identical -, = or ~ characters. These lexical checks do not parse rendered Sphinx content or prove answer completeness. False question punctuation is an editorial review cue, not a defect verdict. Duplicate keys need context before merging. A nonempty block can still be inadequate.

Semantic quality, external links, search ranking, popularity and citation rate: null. SEO improvement is an untested hypothesis. No aggregate quality score.

check-faqrank.py / Complete results with full license / Provenance

python check-faqrank.py . > replay.json

Download both RST files, LICENSE, sources.json and the script into one directory first. Compare parsed JSON. This is a saved executed analysis, not a request-time run.

Script SHA256 a686b3ec4e9b1e43d117153ffdf52a488870b5320552e27d5ca03f47685e5664

Pinned edition and rights

CPython c343f25d0b9c965f55b86ff82bbc92c70ec69623

Source retrieval time, not publication date: 2026-11-24T07:55:34.038057+00:00

Doc/faq/general.rst / Original bytes
032069d738fc8ef2cc907e1d79e2b19898978dab722cd30c108684a29cd1cf0e

Doc/faq/design.rst / Original bytes
65ba1d14ad1f245ff177a1a7758b77880e76a9d37337b577619fdebe65f083e6

LICENSE / Original bytes
b0e25a78cffb43f4d92de8b61ccfa1f1f98ecbc22330b54b5251e7b6ba010231

Copyright (c) 2001 Python Software Foundation; All Rights Reserved.

Full upstream license and modification notice

Across Inc. extracted headings and structural checks. Source files are unmodified. The downloadable report includes the full license and modification notice.

A. HISTORY OF THE SOFTWARE
==========================

Python was created in the early 1990s by Guido van Rossum at Stichting
Mathematisch Centrum (CWI, see https://www.cwi.nl) in the Netherlands
as a successor of a language called ABC.  Guido remains Python's
principal author, although it includes many contributions from others.

In 1995, Guido continued his work on Python at the Corporation for
National Research Initiatives (CNRI, see https://www.cnri.reston.va.us)
in Reston, Virginia where he released several versions of the
software.

In May 2000, Guido and the Python core development team moved to
BeOpen.com to form the BeOpen PythonLabs team.  In October of the same
year, the PythonLabs team moved to Digital Creations, which became
Zope Corporation.  In 2001, the Python Software Foundation (PSF, see
https://www.python.org/psf/) was formed, a non-profit organization
created specifically to own Python-related Intellectual Property.
Zope Corporation was a sponsoring member of the PSF.

All Python releases are Open Source (see https://opensource.org for
the Open Source Definition).  Historically, most, but not all, Python
releases have also been GPL-compatible; the table below summarizes
the various releases.

    Release         Derived     Year        Owner       GPL-
                    from                                compatible? (1)

    0.9.0 thru 1.2              1991-1995   CWI         yes
    1.3 thru 1.5.2  1.2         1995-1999   CNRI        yes
    1.6             1.5.2       2000        CNRI        no
    2.0             1.6         2000        BeOpen.com  no
    1.6.1           1.6         2001        CNRI        yes (2)
    2.1             2.0+1.6.1   2001        PSF         no
    2.0.1           2.0+1.6.1   2001        PSF         yes
    2.1.1           2.1+2.0.1   2001        PSF         yes
    2.1.2           2.1.1       2002        PSF         yes
    2.1.3           2.1.2       2002        PSF         yes
    2.2 and above   2.1.1       2001-now    PSF         yes

Footnotes:

(1) GPL-compatible doesn't mean that we're distributing Python under
    the GPL.  All Python licenses, unlike the GPL, let you distribute
    a modified version without making your changes open source.  The
    GPL-compatible licenses make it possible to combine Python with
    other software that is released under the GPL; the others don't.

(2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
    because its license has a choice of law clause.  According to
    CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
    is "not incompatible" with the GPL.

Thanks to the many outside volunteers who have worked under Guido's
direction to make these releases possible.


B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
===============================================================

Python software and documentation are licensed under the
Python Software Foundation License Version 2.

Starting with Python 3.8.6, examples, recipes, and other code in
the documentation are dual licensed under the PSF License Version 2
and the Zero-Clause BSD license.

Some software incorporated into Python is under different licenses.
The licenses are listed with code falling under that license.


PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
--------------------------------------------

1. This LICENSE AGREEMENT is between the Python Software Foundation
("PSF"), and the Individual or Organization ("Licensee") accessing and
otherwise using this software ("Python") in source or binary form and
its associated documentation.

2. Subject to the terms and conditions of this License Agreement, PSF hereby
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
analyze, test, perform and/or display publicly, prepare derivative works,
distribute, and otherwise use Python alone or in any derivative version,
provided, however, that PSF's License Agreement and PSF's notice of copyright,
i.e., "Copyright (c) 2001 Python Software Foundation; All Rights Reserved"
are retained in Python alone or in any derivative version prepared by Licensee.

3. In the event Licensee prepares a derivative work that is based on
or incorporates Python or any part thereof, and wants to make
the derivative work available to others as provided herein, then
Licensee hereby agrees to include in any such work a brief summary of
the changes made to Python.

4. PSF is making Python available to Licensee on an "AS IS"
basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
INFRINGE ANY THIRD PARTY RIGHTS.

5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.

6. This License Agreement will automatically terminate upon a material
breach of its terms and conditions.

7. Nothing in this License Agreement shall be deemed to create any
relationship of agency, partnership, or joint venture between PSF and
Licensee.  This License Agreement does not grant permission to use PSF
trademarks or trade name in a trademark sense to endorse or promote
products or services of Licensee, or any third party.

8. By copying, installing or otherwise using Python, Licensee
agrees to be bound by the terms and conditions of this License
Agreement.


BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
-------------------------------------------

BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1

1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
Individual or Organization ("Licensee") accessing and otherwise using
this software in source or binary form and its associated
documentation ("the Software").

2. Subject to the terms and conditions of this BeOpen Python License
Agreement, BeOpen hereby grants Licensee a non-exclusive,
royalty-free, world-wide license to reproduce, analyze, test, perform
and/or display publicly, prepare derivative works, distribute, and
otherwise use the Software alone or in any derivative version,
provided, however, that the BeOpen Python License is retained in the
Software, alone or in any derivative version prepared by Licensee.

3. BeOpen is making the Software available to Licensee on an "AS IS"
basis.  BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
INFRINGE ANY THIRD PARTY RIGHTS.

4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.

5. This License Agreement will automatically terminate upon a material
breach of its terms and conditions.

6. This License Agreement shall be governed by and interpreted in all
respects by the law of the State of California, excluding conflict of
law provisions.  Nothing in this License Agreement shall be deemed to
create any relationship of agency, partnership, or joint venture
between BeOpen and Licensee.  This License Agreement does not grant
permission to use BeOpen trademarks or trade names in a trademark
sense to endorse or promote products or services of Licensee, or any
third party.  As an exception, the "BeOpen Python" logos available at
http://www.pythonlabs.com/logos.html may be used according to the
permissions granted on that web page.

7. By copying, installing or otherwise using the software, Licensee
agrees to be bound by the terms and conditions of this License
Agreement.


CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
---------------------------------------

1. This LICENSE AGREEMENT is between the Corporation for National
Research Initiatives, having an office at 1895 Preston White Drive,
Reston, VA 20191 ("CNRI"), and the Individual or Organization
("Licensee") accessing and otherwise using Python 1.6.1 software in
source or binary form and its associated documentation.

2. Subject to the terms and conditions of this License Agreement, CNRI
hereby grants Licensee a nonexclusive, royalty-free, world-wide
license to reproduce, analyze, test, perform and/or display publicly,
prepare derivative works, distribute, and otherwise use Python 1.6.1
alone or in any derivative version, provided, however, that CNRI's
License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
1995-2001 Corporation for National Research Initiatives; All Rights
Reserved" are retained in Python 1.6.1 alone or in any derivative
version prepared by Licensee.  Alternately, in lieu of CNRI's License
Agreement, Licensee may substitute the following text (omitting the
quotes): "Python 1.6.1 is made available subject to the terms and
conditions in CNRI's License Agreement.  This Agreement together with
Python 1.6.1 may be located on the internet using the following
unique, persistent identifier (known as a handle): 1895.22/1013.  This
Agreement may also be obtained from a proxy server on the internet
using the following URL: http://hdl.handle.net/1895.22/1013".

3. In the event Licensee prepares a derivative work that is based on
or incorporates Python 1.6.1 or any part thereof, and wants to make
the derivative work available to others as provided herein, then
Licensee hereby agrees to include in any such work a brief summary of
the changes made to Python 1.6.1.

4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
basis.  CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
INFRINGE ANY THIRD PARTY RIGHTS.

5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.

6. This License Agreement will automatically terminate upon a material
breach of its terms and conditions.

7. This License Agreement shall be governed by the federal
intellectual property law of the United States, including without
limitation the federal copyright law, and, to the extent such
U.S. federal law does not apply, by the law of the Commonwealth of
Virginia, excluding Virginia's conflict of law provisions.
Notwithstanding the foregoing, with regard to derivative works based
on Python 1.6.1 that incorporate non-separable material that was
previously distributed under the GNU General Public License (GPL), the
law of the Commonwealth of Virginia shall govern this License
Agreement only as to issues arising under or with respect to
Paragraphs 4, 5, and 7 of this License Agreement.  Nothing in this
License Agreement shall be deemed to create any relationship of
agency, partnership, or joint venture between CNRI and Licensee.  This
License Agreement does not grant permission to use CNRI trademarks or
trade name in a trademark sense to endorse or promote products or
services of Licensee, or any third party.

8. By clicking on the "ACCEPT" button where indicated, or by copying,
installing or otherwise using Python 1.6.1, Licensee agrees to be
bound by the terms and conditions of this License Agreement.

        ACCEPT


CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
--------------------------------------------------

Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
The Netherlands.  All rights reserved.

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Stichting Mathematisch
Centrum or CWI not be used in advertising or publicity pertaining to
distribution of the software without specific, written prior
permission.

STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION
----------------------------------------------------------------------

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.

Complete original source / English

1 :tocdepth: 2
2 
3 ==================
4 General Python FAQ
5 ==================
6 
7 .. only:: html
8 
9    .. contents::
10       :local:
11 
12 
13 General Information
14 ===================
15 
16 What is Python?
17 ---------------
18 
19 Python is an interpreted, interactive, object-oriented programming language.  It
20 incorporates modules, exceptions, dynamic typing, very high level dynamic data
21 types, and classes.  It supports multiple programming paradigms beyond
22 object-oriented programming, such as procedural and functional programming.
23 Python combines remarkable power with very clear syntax. It has interfaces to
24 many system calls and libraries, as well as to various window systems, and is
25 extensible in C or C++.  It is also usable as an extension language for
26 applications that need a programmable interface. Finally, Python is portable:
27 it runs on many Unix variants including Linux and macOS, and on Windows.
28 
29 To find out more, start with :ref:`tutorial-index`.  The `Beginner's Guide to
30 Python <https://wiki.python.org/moin/BeginnersGuide>`_ links to other
31 introductory tutorials and resources for learning Python.
32 
33 
34 What is the Python Software Foundation?
35 ---------------------------------------
36 
37 The Python Software Foundation is an independent non-profit organization that
38 holds the copyright on Python versions 2.1 and newer.  The PSF's mission is to
39 advance open source technology related to the Python programming language and to
40 publicize the use of Python.  The PSF's home page is at
41 https://www.python.org/psf/.
42 
43 Donations to the PSF are tax-exempt in the US.  If you use Python and find it
44 helpful, please contribute via `the PSF donation page
45 <https://www.python.org/psf/donations/>`_.
46 
47 
48 Are there copyright restrictions on the use of Python?
49 ------------------------------------------------------
50 
51 You can do anything you want with the source, as long as you leave the
52 copyrights in and display those copyrights in any documentation about Python
53 that you produce.  If you honor the copyright rules, it's OK to use Python for
54 commercial use, to sell copies of Python in source or binary form (modified or
55 unmodified), or to sell products that incorporate Python in some form.  We would
56 still like to know about all commercial use of Python, of course.
57 
58 See `the license page <https://docs.python.org/3/license.html>`_ to find further
59 explanations and the full text of the PSF License.
60 
61 The Python logo is trademarked, and in certain cases permission is required to
62 use it.  Consult `the Trademark Usage Policy
63 <https://www.python.org/psf/trademarks/>`__ for more information.
64 
65 
66 Why was Python created in the first place?
67 ------------------------------------------
68 
69 Here's a *very* brief summary of what started it all, written by Guido van
70 Rossum:
71 
72    I had extensive experience with implementing an interpreted language in the
73    ABC group at CWI, and from working with this group I had learned a lot about
74    language design.  This is the origin of many Python features, including the
75    use of indentation for statement grouping and the inclusion of
76    very-high-level data types (although the details are all different in
77    Python).
78 
79    I had a number of gripes about the ABC language, but also liked many of its
80    features.  It was impossible to extend the ABC language (or its
81    implementation) to remedy my complaints -- in fact its lack of extensibility
82    was one of its biggest problems.  I had some experience with using Modula-2+
83    and talked with the designers of Modula-3 and read the Modula-3 report.
84    Modula-3 is the origin of the syntax and semantics used for exceptions, and
85    some other Python features.
86 
87    I was working in the Amoeba distributed operating system group at CWI.  We
88    needed a better way to do system administration than by writing either C
89    programs or Bourne shell scripts, since Amoeba had its own system call
90    interface which wasn't easily accessible from the Bourne shell.  My
91    experience with error handling in Amoeba made me acutely aware of the
92    importance of exceptions as a programming language feature.
93 
94    It occurred to me that a scripting language with a syntax like ABC but with
95    access to the Amoeba system calls would fill the need.  I realized that it
96    would be foolish to write an Amoeba-specific language, so I decided that I
97    needed a language that was generally extensible.
98 
99    During the 1989 Christmas holidays, I had a lot of time on my hand, so I
100    decided to give it a try.  During the next year, while still mostly working
101    on it in my own time, Python was used in the Amoeba project with increasing
102    success, and the feedback from colleagues made me add many early
103    improvements.
104 
105    In February 1991, after just over a year of development, I decided to post to
106    USENET.  The rest is in the ``Misc/HISTORY`` file.
107 
108 
109 What is Python good for?
110 ------------------------
111 
112 Python is a high-level general-purpose programming language that can be applied
113 to many different classes of problems.
114 
115 The language comes with a large standard library that covers areas such as
116 string processing (regular expressions, Unicode, calculating differences between
117 files), internet protocols (HTTP, FTP, SMTP, XML-RPC, POP, IMAP),
118 software engineering (unit testing, logging, profiling, parsing
119 Python code), and operating system interfaces (system calls, filesystems, TCP/IP
120 sockets).  Look at the table of contents for :ref:`library-index` to get an idea
121 of what's available.  A wide variety of third-party extensions are also
122 available.  Consult `the Python Package Index <https://pypi.org>`_ to
123 find packages of interest to you.
124 
125 
126 .. _faq-version-numbering-scheme:
127 
128 How does the Python version numbering scheme work?
129 --------------------------------------------------
130 
131 Python versions are numbered "A.B.C" or "A.B":
132 
133 * *A* is the major version number -- it is only incremented for really major
134   changes in the language.
135 * *B* is the minor version number -- it is incremented for less earth-shattering
136   changes.
137 * *C* is the micro version number -- it is incremented for each bugfix release.
138 
139 Not all releases are bugfix releases.  In the run-up to a new feature release, a
140 series of development releases are made, denoted as alpha, beta, or release
141 candidate.  Alphas are early releases in which interfaces aren't yet finalized;
142 it's not unexpected to see an interface change between two alpha releases.
143 Betas are more stable, preserving existing interfaces but possibly adding new
144 modules, and release candidates are frozen, making no changes except as needed
145 to fix critical bugs.
146 
147 Alpha, beta and release candidate versions have an additional suffix:
148 
149 * The suffix for an alpha version is "aN" for some small number *N*.
150 * The suffix for a beta version is "bN" for some small number *N*.
151 * The suffix for a release candidate version is "rcN" for some small number *N*.
152 
153 In other words, all versions labeled *2.0aN* precede the versions labeled
154 *2.0bN*, which precede versions labeled *2.0rcN*, and *those* precede 2.0.
155 
156 You may also find version numbers with a "+" suffix, e.g. "2.2+".  These are
157 unreleased versions, built directly from the CPython development repository.  In
158 practice, after a final minor release is made, the version is incremented to the
159 next minor version, which becomes the "a0" version, e.g. "2.4a0".
160 
161 See the `Developer's Guide
162 <https://devguide.python.org/developer-workflow/development-cycle/>`__
163 for more information about the development cycle, and
164 :pep:`387` to learn more about Python's backward compatibility policy.  See also
165 the documentation for :data:`sys.version`, :data:`sys.hexversion`, and
166 :data:`sys.version_info`.
167 
168 
169 How do I obtain a copy of the Python source?
170 --------------------------------------------
171 
172 The latest Python source distribution is always available from python.org, at
173 https://www.python.org/downloads/.  The latest development sources can be obtained
174 at https://github.com/python/cpython/.
175 
176 The source distribution is a gzipped tar file containing the complete C source,
177 Sphinx-formatted documentation, Python library modules, example programs, and
178 several useful pieces of freely distributable software.  The source will compile
179 and run out of the box on most UNIX platforms.
180 
181 Consult the `Getting Started section of the Python Developer's Guide
182 <https://devguide.python.org/setup/>`__ for more
183 information on getting the source code and compiling it.
184 
185 
186 How do I get documentation on Python?
187 -------------------------------------
188 
189 The standard documentation for the current stable version of Python is available
190 at https://docs.python.org/3/.  EPUB, plain text, and downloadable HTML versions are
191 also available at https://docs.python.org/3/download.html.
192 
193 The documentation is written in reStructuredText and processed by `the Sphinx
194 documentation tool <https://www.sphinx-doc.org/>`__.  The reStructuredText source for
195 the documentation is part of the Python source distribution.
196 
197 
198 I've never programmed before. Is there a Python tutorial?
199 ---------------------------------------------------------
200 
201 There are numerous tutorials and books available.  The standard documentation
202 includes :ref:`tutorial-index`.
203 
204 Consult `the Beginner's Guide <https://wiki.python.org/moin/BeginnersGuide>`_ to
205 find information for beginning Python programmers, including lists of tutorials.
206 
207 
208 Is there a newsgroup or mailing list devoted to Python?
209 -------------------------------------------------------
210 
211 There is a newsgroup, :newsgroup:`comp.lang.python`, and a mailing list,
212 `python-list <https://mail.python.org/mailman/listinfo/python-list>`_.  The
213 newsgroup and mailing list are gatewayed into each other -- if you can read news
214 it's unnecessary to subscribe to the mailing list.
215 :newsgroup:`comp.lang.python` is high-traffic, receiving hundreds of postings
216 every day, and Usenet readers are often more able to cope with this volume.
217 
218 Announcements of new software releases and events can be found in
219 comp.lang.python.announce, a low-traffic moderated list that receives about five
220 postings per day.  It's available as `the python-announce mailing list
221 <https://mail.python.org/mailman3/lists/python-announce-list.python.org/>`_.
222 
223 More info about other mailing lists and newsgroups
224 can be found at https://www.python.org/community/lists/.
225 
226 
227 How do I get a beta test version of Python?
228 -------------------------------------------
229 
230 Alpha and beta releases are available from https://www.python.org/downloads/.  All
231 releases are announced on the comp.lang.python and comp.lang.python.announce
232 newsgroups and on the Python home page at https://www.python.org/; an RSS feed of
233 news is available.
234 
235 You can also access the development version of Python through Git.  See
236 `The Python Developer's Guide <https://devguide.python.org/>`_ for details.
237 
238 
239 How do I submit bug reports and patches for Python?
240 ---------------------------------------------------
241 
242 To report a bug or submit a patch, use the issue tracker at
243 https://github.com/python/cpython/issues.
244 
245 For more information on how Python is developed, consult `the Python Developer's
246 Guide <https://devguide.python.org/>`_.
247 
248 
249 Are there any published articles about Python that I can reference?
250 -------------------------------------------------------------------
251 
252 It's probably best to cite your favorite book about Python.
253 
254 The `very first article <https://ir.cwi.nl/pub/18204>`_ about Python was
255 written in 1991 and is now quite outdated.
256 
257     Guido van Rossum and Jelke de Boer, "Interactively Testing Remote Servers
258     Using the Python Programming Language", CWI Quarterly, Volume 4, Issue 4
259     (December 1991), Amsterdam, pp 283--303.
260 
261 
262 Are there any books on Python?
263 ------------------------------
264 
265 Yes, there are many, and more are being published.  See the python.org wiki at
266 https://wiki.python.org/moin/PythonBooks for a list.
267 
268 You can also search online bookstores for "Python" and filter out the Monty
269 Python references; or perhaps search for "Python" and "language".
270 
271 
272 Where in the world is www.python.org located?
273 ---------------------------------------------
274 
275 The Python project's infrastructure is located all over the world and is managed
276 by the Python Infrastructure Team. Details `here <https://infra.psf.io>`__.
277 
278 
279 Why is it called Python?
280 ------------------------
281 
282 When he began implementing Python, Guido van Rossum was also reading the
283 published scripts from `"Monty Python's Flying Circus"
284 <https://en.wikipedia.org/wiki/Monty_Python>`__, a BBC comedy series from the 1970s.  Van Rossum
285 thought he needed a name that was short, unique, and slightly mysterious, so he
286 decided to call the language Python.
287 
288 
289 Do I have to like "Monty Python's Flying Circus"?
290 -------------------------------------------------
291 
292 No, but it helps.  :)
293 
294 
295 Python in the real world
296 ========================
297 
298 How stable is Python?
299 ---------------------
300 
301 Very stable.  New, stable releases have been coming out roughly every 6 to 18
302 months since 1991, and this seems likely to continue.  As of version 3.9,
303 Python will have a new feature release every 12 months (:pep:`602`).
304 
305 The developers issue bugfix releases of older versions, so the stability of
306 existing releases gradually improves.  Bugfix releases, indicated by a third
307 component of the version number (e.g. 3.5.3, 3.6.2), are managed for stability;
308 only fixes for known problems are included in a bugfix release, and it's
309 guaranteed that interfaces will remain the same throughout a series of bugfix
310 releases.
311 
312 The latest stable releases can always be found on the `Python download page
313 <https://www.python.org/downloads/>`_.
314 Python 3.x is the recommended version and supported by most widely used libraries.
315 Python 2.x :pep:`is not maintained anymore <373>`.
316 
317 How many people are using Python?
318 ---------------------------------
319 
320 There are probably millions of users, though it's difficult to obtain an exact
321 count.
322 
323 Python is available for free download, so there are no sales figures, and it's
324 available from many different sites and packaged with many Linux distributions,
325 so download statistics don't tell the whole story either.
326 
327 The comp.lang.python newsgroup is very active, but not all Python users post to
328 the group or even read it.
329 
330 
331 Have any significant projects been done in Python?
332 --------------------------------------------------
333 
334 See https://www.python.org/about/success for a list of projects that use Python.
335 Consulting the proceedings for `past Python conferences
336 <https://www.python.org/community/workshops/>`_ will reveal contributions from many
337 different companies and organizations.
338 
339 High-profile Python projects include `the Mailman mailing list manager
340 <https://www.list.org>`_ and `the Zope application server
341 <https://www.zope.dev>`_.  Several Linux distributions, most notably `Red Hat
342 <https://www.redhat.com>`_, have written part or all of their installer and
343 system administration software in Python.  Companies that use Python internally
344 include Google, Yahoo, and Lucasfilm Ltd.
345 
346 
347 What new developments are expected for Python in the future?
348 ------------------------------------------------------------
349 
350 See https://peps.python.org/ for the Python Enhancement Proposals
351 (PEPs). PEPs are design documents describing a suggested new feature for Python,
352 providing a concise technical specification and a rationale.  Look for a PEP
353 titled "Python X.Y Release Schedule", where X.Y is a version that hasn't been
354 publicly released yet.
355 
356 New development is discussed on `the python-dev mailing list
357 <https://mail.python.org/mailman3/lists/python-dev.python.org/>`_.
358 
359 
360 Is it reasonable to propose incompatible changes to Python?
361 -----------------------------------------------------------
362 
363 In general, no.  There are already millions of lines of Python code around the
364 world, so any change in the language that invalidates more than a very small
365 fraction of existing programs has to be frowned upon.  Even if you can provide a
366 conversion program, there's still the problem of updating all documentation;
367 many books have been written about Python, and we don't want to invalidate them
368 all at a single stroke.
369 
370 Providing a gradual upgrade path is necessary if a feature has to be changed.
371 :pep:`5` describes the procedure followed for introducing backward-incompatible
372 changes while minimizing disruption for users.
373 
374 
375 Is Python a good language for beginning programmers?
376 ----------------------------------------------------
377 
378 Yes.
379 
380 It is still common to start students with a procedural and statically typed
381 language such as Pascal, C, or a subset of C++ or Java.  Students may be better
382 served by learning Python as their first language.  Python has a very simple and
383 consistent syntax and a large standard library and, most importantly, using
384 Python in a beginning programming course lets students concentrate on important
385 programming skills such as problem decomposition and data type design.  With
386 Python, students can be quickly introduced to basic concepts such as loops and
387 procedures.  They can probably even work with user-defined objects in their very
388 first course.
389 
390 For a student who has never programmed before, using a statically typed language
391 seems unnatural.  It presents additional complexity that the student must master
392 and slows the pace of the course.  The students are trying to learn to think
393 like a computer, decompose problems, design consistent interfaces, and
394 encapsulate data.  While learning to use a statically typed language is
395 important in the long term, it is not necessarily the best topic to address in
396 the students' first programming course.
397 
398 Many other aspects of Python make it a good first language.  Like Java, Python
399 has a large standard library so that students can be assigned programming
400 projects very early in the course that *do* something.  Assignments aren't
401 restricted to the standard four-function calculator and check balancing
402 programs.  By using the standard library, students can gain the satisfaction of
403 working on realistic applications as they learn the fundamentals of programming.
404 Using the standard library also teaches students about code reuse.  Third-party
405 modules such as PyGame are also helpful in extending the students' reach.
406 
407 Python's interactive interpreter enables students to test language features
408 while they're programming.  They can keep a window with the interpreter running
409 while they enter their program's source in another window.  If they can't
410 remember the methods for a list, they can do something like this::
411 
412    >>> L = []
413    >>> dir(L) # doctest: +NORMALIZE_WHITESPACE
414    ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__',
415    '__dir__', '__doc__', '__eq__', '__format__', '__ge__',
416    '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__',
417    '__imul__', '__init__', '__iter__', '__le__', '__len__', '__lt__',
418    '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__',
419    '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__',
420    '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear',
421    'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove',
422    'reverse', 'sort']
423    >>> [d for d in dir(L) if '__' not in d]
424    ['append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']
425 
426    >>> help(L.append)
427    Help on built-in function append:
428    <BLANKLINE>
429    append(...)
430        L.append(object) -> None -- append object to end
431    <BLANKLINE>
432    >>> L.append(1)
433    >>> L
434    [1]
435 
436 With the interpreter, documentation is never far from the student as they are
437 programming.
438 
439 There are also good IDEs for Python.  IDLE is a cross-platform IDE for Python
440 that is written in Python using Tkinter.
441 Emacs users will be happy to know that there is a very good Python mode for
442 Emacs.  All of these programming environments provide syntax highlighting,
443 auto-indenting, and access to the interactive interpreter while coding.  Consult
444 `the Python wiki <https://wiki.python.org/moin/PythonEditors>`_ for a full list
445 of Python editing environments.
446 
447 If you want to discuss Python's use in education, you may be interested in
448 joining `the edu-sig mailing list
449 <https://www.python.org/community/sigs/current/edu-sig>`_.
450