Our Documentation | Python.org
>>> Python Needs You. Open source software is made better when users can easily contribute code and documentation to fix bugs and add features. Python strongly ...
Our Documentation \| Python.org

**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.

[Skip to content](#content "Skip to content")

[▼ Close](#python-network)

- [Python](/ "The Python Programming Language")
- [PSF](https://www.python.org/psf/ "The Python Software Foundation")
- [Docs](https://docs.python.org "Python Documentation")
- [PyPI](https://pypi.org/ "Python Package Index")
- [Jobs](/jobs/ "Python Job Board")
- [Community](/community-landing/)

[▲ The Python Network](#top)

# [![python™](/static/img/python-logo.png)](/)

[Donate](https://psfmember.org/civicrm/contribute/transact?reset=1&id=2)

[≡ Menu](#site-map)Search This Site
GO


- **A A**  - [Smaller](javascript:; "Make Text Smaller")
  - [Larger](javascript:; "Make Text Larger")
  - [Reset](javascript:; "Reset any font size changes I have made")

- Socialize  - [LinkedIn](https://www.linkedin.com/company/python-software-foundation/)
  - [Mastodon](https://fosstodon.org/@ThePSF)
  - [Chat on IRC](/community/irc/)
  - [Twitter](https://twitter.com/ThePSF)

- [About](/about/ "")  - [Applications](/about/apps/ "")
  - [Quotes](/about/quotes/ "")
  - [Getting Started](/about/gettingstarted/ "")
  - [Help](/about/help/ "")
  - [Python Brochure](http://brochure.getpython.info/ "")
- [Downloads](/downloads/ "")  - [All releases](/downloads/ "")
  - [Source code](/downloads/source/ "")
  - [Windows](/downloads/windows/ "")
  - [macOS](/downloads/macos/ "")
  - [Other Platforms](/download/other/ "")
  - [License](https://docs.python.org/3/license.html "")
  - [Alternative Implementations](/download/alternatives "")
- [Documentation](/doc/ "")  - [Docs](/doc/ "")
  - [Audio/Visual Talks](/doc/av "")
  - [Beginner's Guide](https://wiki.python.org/moin/BeginnersGuide "")
  - [Developer's Guide](https://devguide.python.org/ "")
  - [FAQ](https://docs.python.org/faq/ "")
  - [Non-English Docs](http://wiki.python.org/moin/Languages "")
  - [PEP Index](https://peps.python.org "")
  - [Python Books](https://wiki.python.org/moin/PythonBooks "")
  - [Python Essays](/doc/essays/ "")
- [Community](/community/ "")  - [Diversity](/community/diversity/ "")
  - [Mailing Lists](/community/lists/ "")
  - [IRC](/community/irc/ "")
  - [Forums](/community/forums/ "")
  - [PSF Annual Impact Report](/psf/annual-report/2021/ "")
  - [Python Conferences](/community/workshops/ "")
  - [Special Interest Groups](/community/sigs/ "")
  - [Python Logo](/community/logos/ "")
  - [Python Wiki](https://wiki.python.org/moin/ "")
  - [Code of Conduct](/psf/conduct/ "")
  - [Community Awards](/community/awards "")
  - [Get Involved](/psf/get-involved/ "")
  - [Shared Stories](/psf/community-stories/ "")
- [Success Stories](/success-stories/ "success-stories")  - [Arts](/success-stories/category/arts/ "")
  - [Business](/success-stories/category/business/ "")
  - [Education](/success-stories/category/education/ "")
  - [Engineering](/success-stories/category/engineering/ "")
  - [Government](/success-stories/category/government/ "")
  - [Scientific](/success-stories/category/scientific/ "")
  - [Software Development](/success-stories/category/software-development/ "")
- [News](/blogs/ "News from around the Python world")  - [Python News](/blogs/ "Python Insider Blog Posts")
  - [PSF Newsletter](/psf/newsletter/ "Python Software Foundation Newsletter")
  - [PSF News](http://pyfound.blogspot.com/ "PSF Blog")
  - [PyCon US News](http://pycon.blogspot.com/ "PyCon Blog")
  - [News from the Community](http://planetpython.org/ "Planet Python")
- [Events](/events/ "")  - [Python Events](/events/python-events/ "")
  - [User Group Events](/events/python-user-group/ "")
  - [Python Events Archive](/events/python-events/past/ "")
  - [User Group Events Archive](/events/python-user-group/past/ "")
  - [Submit an Event](https://wiki.python.org/moin/PythonEventsCalendar#Submitting_an_Event "")

# Browse the docs online or download a copy of your own.

Python's documentation, tutorials, and guides are constantly evolving.

Get started here, or scroll down for documentation broken out by type and subject.

[Python Docs](http://docs.python.org/3/)

See also [Documentation Releases by Version](/doc/versions/)

## Beginner

- [Beginner’s Guide](https://wiki.python.org/moin/BeginnersGuide)
- [Python FAQs](//docs.python.org/faq/)

## Moderate

- [Python Periodicals](https://wiki.python.org/moin/PythonPeriodicals)
- [Python Books](https://wiki.python.org/moin/PythonBooks)

## Advanced

- [Python Packaging User Guide](http://packaging.python.org/)
- [In-development Docs](//docs.python.org/dev/)
- [Guido’s Essays](/doc/essays/)

## General

- [PEP Index](/dev/peps/)
- [Python Videos](http://www.pyvideo.org)
- [Developer’s Guide](//docs.python.org/devguide)

## Python 3.x Resources

- [Browse Python 3.12.6 Documentation](https://docs.python.org/3/)

\- [(Module Index)](https://docs.python.org/3/py-modindex.html)  - [What's new in Python 3.12](https://docs.python.org/3/whatsnew/3.12.html)
  - [Tutorial](https://docs.python.org/3/tutorial/index.html)
  - [Library Reference](https://docs.python.org/3/library/index.html)
  - [Language Reference](https://docs.python.org/3/reference/index.html)
  - [Extending and Embedding](https://docs.python.org/3/extending/index.html)
  - [Python/C API](https://docs.python.org/3/c-api/index.html)
  - [Using Python](https://docs.python.org/3/using/index.html)
  - [Python HOWTOs](https://docs.python.org/3/howto/index.html)
  - [Glossary](https://docs.python.org/3/glossary.html)
- [Search the online docs](https://docs.python.org/3/search.html)
- [Download Current Documentation](https://docs.python.org/3/download.html) (multiple formats are available, including typeset versions for printing.)

## Porting from Python 2 to Python 3

- [FAQ: Sunsetting Python 2](https://www.python.org/doc/sunset-python-2/)
- [Final Python 2.7 Release Schedule](https://www.python.org/dev/peps/pep-0373/)
- [Python 3 Statement](https://python3statement.github.io/)
- [Porting Python 2 Code to Python 3](https://docs.python.org/3/howto/pyporting.html)  - [Determine what projects are blocking you from porting to Python 3](https://pypi.org/project/caniusepython3/)
  - [Python 2 Support and Migration](https://wiki.python.org/moin/PythonConsulting/Python%202%20support%20and%20migration)

Can’t find what you’re looking for? [Try our comprehensive Help section](/about/help/)

## >>>Python Needs You

Open source software is made better when users can easily contribute code and documentation to fix bugs and add features. Python strongly encourages community involvement in improving the software. [Learn more](//docs.python.org/devguide) about how to make Python better for everyone.

[Contribute to Python](//docs.python.org/devguide/#contributing) [Issue Tracker](//github.com/python/cpython/issues)

## >>> [Python Enhancement Proposals (PEPs)](/dev/peps/): The future of Python is discussed here. [RSS](/dev/peps/peps.rss)

[▲ Back to Top](#python-network)

- [About](/about/)  - [Applications](/about/apps/ "")
  - [Quotes](/about/quotes/ "")
  - [Getting Started](/about/gettingstarted/ "")
  - [Help](/about/help/ "")
  - [Python Brochure](http://brochure.getpython.info/ "")
- [Downloads](/downloads/)  - [All releases](/downloads/ "")
  - [Source code](/downloads/source/ "")
  - [Windows](/downloads/windows/ "")
  - [macOS](/downloads/macos/ "")
  - [Other Platforms](/download/other/ "")
  - [License](https://docs.python.org/3/license.html "")
  - [Alternative Implementations](/download/alternatives "")
- [Documentation](/doc/)  - [Docs](/doc/ "")
  - [Audio/Visual Talks](/doc/av "")
  - [Beginner's Guide](https://wiki.python.org/moin/BeginnersGuide "")
  - [Developer's Guide](https://devguide.python.org/ "")
  - [FAQ](https://docs.python.org/faq/ "")
  - [Non-English Docs](http://wiki.python.org/moin/Languages "")
  - [PEP Index](https://peps.python.org "")
  - [Python Books](https://wiki.python.org/moin/PythonBooks "")
  - [Python Essays](/doc/essays/ "")
- [Community](/community/)  - [Diversity](/community/diversity/ "")
  - [Mailing Lists](/community/lists/ "")
  - [IRC](/community/irc/ "")
  - [Forums](/community/forums/ "")
  - [PSF Annual Impact Report](/psf/annual-report/2021/ "")
  - [Python Conferences](/community/workshops/ "")
  - [Special Interest Groups](/community/sigs/ "")
  - [Python Logo](/community/logos/ "")
  - [Python Wiki](https://wiki.python.org/moin/ "")
  - [Code of Conduct](/psf/conduct/ "")
  - [Community Awards](/community/awards "")
  - [Get Involved](/psf/get-involved/ "")
  - [Shared Stories](/psf/community-stories/ "")
- [Success Stories](/success-stories/ "success-stories")  - [Arts](/success-stories/category/arts/ "")
  - [Business](/success-stories/category/business/ "")
  - [Education](/success-stories/category/education/ "")
  - [Engineering](/success-stories/category/engineering/ "")
  - [Government](/success-stories/category/government/ "")
  - [Scientific](/success-stories/category/scientific/ "")
  - [Software Development](/success-stories/category/software-development/ "")
- [News](/blogs/ "News from around the Python world")  - [Python News](/blogs/ "Python Insider Blog Posts")
  - [PSF Newsletter](/psf/newsletter/ "Python Software Foundation Newsletter")
  - [PSF News](http://pyfound.blogspot.com/ "PSF Blog")
  - [PyCon US News](http://pycon.blogspot.com/ "PyCon Blog")
  - [News from the Community](http://planetpython.org/ "Planet Python")
- [Events](/events/)  - [Python Events](/events/python-events/ "")
  - [User Group Events](/events/python-user-group/ "")
  - [Python Events Archive](/events/python-events/past/ "")
  - [User Group Events Archive](/events/python-user-group/past/ "")
  - [Submit an Event](https://wiki.python.org/moin/PythonEventsCalendar#Submitting_an_Event "")
- [Contributing](/dev/)  - [Developer's Guide](https://devguide.python.org/ "")
  - [Issue Tracker](https://github.com/python/cpython/issues "")
  - [python-dev list](https://mail.python.org/mailman/listinfo/python-dev "")
  - [Core Mentorship](/dev/core-mentorship/ "")
  - [Report a Security Issue](/dev/security/ "")

[▲ Back to Top](#python-network)

- [Help & General Contact](/about/help/)
- [Diversity Initiatives](/community/diversity/)
- [Submit Website Bug](https://github.com/python/pythondotorg/issues)
- [Status](https://status.python.org/)

Copyright ©2001-2024.[Python Software Foundation](/psf-landing/)[Legal Statements](/about/legal/)[Privacy Policy](/privacy/)