2022年12月13日 星期二

Python 標準函式庫 (Standard Library

Python 標準函式庫 (Standard Library) — Python 3.12.0a3 說明文件

Python 標準函式庫 (Standard Library)

Python 語言參考手冊說明 Python 這門語言確切的文法及語意,而這份函式庫參考手冊則是說明隨著 Python 一起發佈的標準函式庫,除此之外,其內容也包含一些時常出現在 Python 發佈版本中的非必要套件。

Python 的標準函式庫是非常龐大的,其提供了如下所述極多且涵蓋用途極廣的許多模組。包含一些用 C 語言撰寫,可以操作像是檔案讀寫等系統相關功能的內建模組,當然也有用 Python 撰寫,並使用標準解法解決許多常見問題的模組。其中有些模組則是特別針對 Python 的可攜性去設計的,為此特地將一些平台特殊相依性的功能抽象化成可跨平台的 API。

Python 的 Windows 安裝檔基本上包含整個標準函式庫,且通常也包含許多附加的組件;而在類 Unix 作業系統方面,Python 通常是以一系列的套件被安裝,因此對於某些或全部的可選組件,可能都必須使用該作業系統提供的套件管理工具來安裝。

在標準函式庫之外,還有成千上萬且不斷增加的組件(從個別的程式、模組、套件到完整的應用程式開發框架),可以從 Python 套件索引 (Python Package Index) 中取得。

Python 3.12.0a3 documentation

Python 3.12.0a3 documentation Welcome! This is the official documentation for Python 3.12.0a3. Parts of the documentation: What's new in Python 3.12? or all "What's new" documents since 2.0 Tutorial start here Library Reference keep this under your pillow Language Reference describes syntax and language elements Python Setup and Usage how to use Python on different platforms Python HOWTOs in-depth documents on specific topics Installing Python Modules installing from the Python Package Index & other sources Distributing Python Modules publishing modules for installation by others Extending and Embedding tutorial for C/C++ programmers Python/C API reference for C/C++ programmers FAQs frequently asked questions (with answers!) Indices and tables: Global Module Index quick access to all modules General Index all functions, classes, terms Glossary the most important terms explained Search page search this documentation Complete Table of Contents lists all sections and subsections Meta information: Reporting bugs Contributing to Docs About the documentation History and License of Python Copyright

Python 3.12.0a3 documentation

Python 3.12.0a3 documentation

Welcome! This is the official documentation for Python 3.12.0a3.

Parts of the documentation:

Indices and tables:

Meta information:

Python 說明文件內容

Python 有什麼新功能? — Python 3.12.0a3 說明文件

Python 有什麼新功能?

「Python 有什麼新功能」這系列的說明是讓使用者知道 Python 各個主要更新版本之間的重大改變的地方。對於希望在新版本釋出時立即了解版本差異的使用者們來說,這些說明被歸類為「必讀」的等級。

「Changelog(更動日誌)」是從 Misc/NEWS.d 目錄樹的內容建置的一個 HTML 檔案版本,其中包含了 Python 目前版本中的所有重要變更。

Python 標準函式庫 (Standard Library

Python 標準函式庫 (Standard Library) — Python 3.12.0a3 說明文件 ...