Our Documentation | Python.org


本站和网页 https://www.python.org/doc/ 的作者无关,不对其内容负责。快照谨为网络故障时之索引,不代表被搜索网站的即时页面。

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
▼ Close
Python
PSF
Docs
PyPI
Jobs
Community
▲ The Python Network
Donate
≡ Menu
Search This Site
GO
A A
Smaller
Larger
Reset
Socialize
Facebook
Twitter
Chat on IRC
About
Applications
Quotes
Getting Started
Help
Python Brochure
Downloads
All releases
Source code
Windows
macOS
Other Platforms
License
Alternative Implementations
Documentation
Docs
Audio/Visual Talks
Beginner's Guide
Developer's Guide
FAQ
Non-English Docs
PEP Index
Python Books
Python Essays
Community
Diversity
Mailing Lists
IRC
Forums
PSF Annual Impact Report
Python Conferences
Special Interest Groups
Python Logo
Python Wiki
Code of Conduct
Community Awards
Get Involved
Shared Stories
Success Stories
Arts
Business
Education
Engineering
Government
Scientific
Software Development
News
Python News
PSF Newsletter
PSF News
PyCon US News
News from the Community
Events
Python Events
User Group Events
Python Events Archive
User Group Events Archive
Submit 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
See also Documentation Releases by Version
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.11.5 Documentation
- (Module Index)
What's new in Python 3.11
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
Bug Tracker
>>> Python Enhancement Proposals (PEPs): The future of Python is discussed here.
RSS
▲ Back to Top
About
Applications
Quotes
Getting Started
Help
Python Brochure
Downloads
All releases
Source code
Windows
macOS
Other Platforms
License
Alternative Implementations
Documentation
Docs
Audio/Visual Talks
Beginner's Guide
Developer's Guide
FAQ
Non-English Docs
PEP Index
Python Books
Python Essays
Community
Diversity
Mailing Lists
IRC
Forums
PSF Annual Impact Report
Python Conferences
Special Interest Groups
Python Logo
Python Wiki
Code of Conduct
Community Awards
Get Involved
Shared Stories
Success Stories
Arts
Business
Education
Engineering
Government
Scientific
Software Development
News
Python News
PSF Newsletter
PSF News
PyCon US News
News from the Community
Events
Python Events
User Group Events
Python Events Archive
User Group Events Archive
Submit an Event
Contributing
Developer's Guide
Issue Tracker
python-dev list
Core Mentorship
Report a Security Issue
▲ Back to Top
Help & General Contact
Diversity Initiatives
Submit Website Bug
Status
Copyright 2001-2023.
Python Software Foundation
Legal Statements
Privacy Policy