Text of docs.python.org › 3.16 › faq › general.html as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout, and only the first part of a long page.

Open the live page

General Python FAQ — Python 3.16.0a2 documentation

Navigation index modules | next | previous | Python » 3.16.0a2 documentation » Python Frequently Asked Questions » General Python FAQ | Theme | General Python FAQ ¶ General Information ¶ What is Python? ¶ Python is an interpreted, interactive, object-oriented programming language. It incorporates modules, exceptions, dynamic typing, very high level dynamic data types, and classes. It supports multiple programming paradigms beyond object-oriented programming, such as procedural and functional programming.

Python combines remarkable power with very clear syntax. It has interfaces to many system calls and libraries, as well as to various window systems, and is extensible in C or C++. It is also usable as an extension language for applications that need a programmable interface. Finally, Python is portable: it runs on many Unix variants including Linux and macOS, and on Windows. To find out more, start with The Python Tutorial .

The Beginner’s Guide to Python links to other introductory tutorials and resources for learning Python. What is the Python Software Foundation? ¶ The Python Software Foundation is an independent non-profit organization that holds the copyright on Python versions 2.1 and newer. The PSF’s mission is to advance open source technology related to the Python programming language and to publicize the use of Python. The PSF’s home page is at https://www.python.org/psf/ .

Donations to the PSF are tax-exempt in the US. If you use Python and find it helpful, please contribute via the PSF donation page . Are there copyright restrictions on the use of Python? ¶ You can do anything you want with the source, as long as you leave the copyrights in and display those copyrights in any documentation about Python that you produce. If you honor the copyright rules, it’s OK to use Python for commercial use, to sell copies of Python in source or binary form (modified or unmodified), or to sell products that incorporate Python in some form.

We would still like to know about all commercial use of Python, of course. See the license page to find further explanations and the full text of the PSF License. The Python logo is trademarked, and in certain cases permission is required to use it. Consult the Trademark Usage Policy for more information. Why was Python created in the first place? ¶ Here’s a very brief summary of what started it all, written by Guido van Rossum: I had extensive experience with implementing an interpreted language in the ABC group at CWI, and from working with this group I had learned a lot about language design.

This is the origin of many Python features, including the use of indentation for statement grouping and the inclusion of very-high-level data types (although the details are all different in Python). I had a number of gripes about the ABC language, but also liked many of its features. It was impossible to extend the ABC language (or its implementation) to remedy my complaints – in fact its lack of extensibility was one of its biggest problems.

I had some experience with using Modula-2+ and talked with the designers of Modula-3 and read the Modula-3 report. Modula-3 is the origin of the syntax and semantics used for exceptions, and some other Python features. I was working in the Amoeba distributed operating system group at CWI. We needed a better way to do system administration than by writing either C programs or Bourne shell scripts, since Amoeba had its own system call interface which wasn’t easily accessible from the Bourne shell.

My experience with error handling in Amoeba made me acutely aware of the importance of exceptions as a programming language feature. It occurred to me that a scripting language with a syntax like ABC but with access to the Amoeba system calls would fill the need. I realized that it would be foolish to write an Amoeba-specific language, so I decided that I needed a language that was generally extensible. During the 1989 Christmas holidays, I had a lot of time on my hand, so I decided to give it a try.

During the next year, while still mostly working on it in my own time, Python was used in the Amoeba project with increasing success, and the feedback from colleagues made me add many early improvements. In February 1991, after just over a year of development, I decided to post to USENET. The rest is in the Misc/HISTORY file. What is Python good for? ¶ Python is a high-level general-purpose programming language that can be applied to many different classes of problems.

The language comes with a large standard library that covers areas such as string processing (regular expressions, Unicode, calculating differences between files), internet protocols (HTTP, FTP, SMTP, XML-RPC, POP, IMAP), software engineering (unit testing, logging, profiling, parsing Python code), and operating system interfaces (system calls, filesystems, TCP/IP sockets). Look at the table of contents for The Python standard library to get an idea of what’s available.

A wide variety of third-party extensions are also available. Consult the Python Package Index to find packages of interest to you. How does the Python version numbering scheme work? ¶ Python versions are numbered “A.B.C” or “A.B”: A is the major version number – it is only incremented for really major changes in the language. B is the minor version number – it is incremented for less earth-shattering changes.

C is the micro version number – it is incremented for each bugfix release. Not all releases are bugfix releases. In the run-up to a new feature release, a series of development releases are made, denoted as alpha, beta, or release candidate. Alphas are early releases in which interfaces aren’t yet finalized; it’s not unexpected to see an interface change between two alpha releases. Betas are more stable, preserving existing interfaces but possibly adding new modules, and release candidates are frozen, making no changes except as needed to fix critical bugs.

Alpha, beta and release candidate versions have an additional suffix: The suffix for an alpha version is “aN” for some small number N . The suffix for a beta version is “bN” for some small number N . The suffix for a release candidate version is “rcN” for some small number N . In other words, all versions labeled 2.0aN precede the versions labeled 2.0bN , which precede versions labeled 2.0rcN , and those precede 2.0.

You may also find version numbers with a “+dev” suffix, such as “3.15.0b3+dev”. These are unreleased versions, built directly from the CPython development repository. After the first beta release is made, the version is incremented to the next feature version, which becomes the “a0” version, such as “3.16.0a0”. See the Developer’s Guide for more information about the development cycle, and PEP 387 to learn more about Python’s backward compatibility policy.

See also the documentation for sys.version , sys.hexversion , and sys.version_info . How do I obtain a copy of the Python source? ¶ The latest Python source distribution is always available from python.org, at https://www.python.org/downloads/ . The latest development sources can be obtained at https://github.com/python/cpython/ . The source distribution is a gzipped tar file containing the complete C source, Sphinx-formatted documentation, Python library modules, example programs, and several useful pieces of freely distributable software.

The source will compile and run out of the box on most UNIX platforms. Consult the Getting Started section of the Python Developer’s Guide for more information on getting the source code and compiling it. How do I get documentation on Python? ¶ The standard documentation for the current stable version of Python is available at https://docs.python.org/3/ . EPUB, plain text, and downloadable HTML versions are also available at https://docs.python.org/3/download.html .

The documentation is written in reStructuredText and processed

The rest of this page is on the live site.