Text of python.org › doc as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Our Documentation | Python.org

Notice: This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets. Beginner Beginner’s Guide Python FAQs Moderate Python Periodicals Python Books Advanced Python Packaging User Guide In-development Docs Guido’s Essays General PEP Index Python Videos Developer’s Guide Python 3.x Resources Browse Python 3.15.2 Documentation - (Module Index) What's new in Python 3.15 Tutorial Library Reference Language Reference Extending and Embedding Python/C API Using Python Python HOWTOs Glossary Search the online docs Download Current Documentation (multiple formats are available, including typeset versions for printing.) Porting from Python 2 to Python 3 FAQ: Sunsetting Python 2 Final Python 2.7 Release Schedule Python 3 Statement Porting Python 2 Code to Python 3 Determine what projects are blocking you from porting to Python 3 Python 2 Support and Migration Can’t find what you’re looking for?

Try our comprehensive Help section >>> 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 about how to make Python better for everyone. Contribute to Python Issue Tracker