Pyhton提供的標準程式庫相當多,去除特定平台,大致上可以分成26類服務,大概有239個模組。
- String Services (11)
- Data Types (19)
- Numeric and Mathematical Modules (9)
- File and Directory Access (12)
- Data Persistence (13)
- Data Compression and Archiving (5)
- File Formats (6)
- Cryptographic Services (4)
- Generic Operating System Services (17)
- Optional Operating System Services (9)
- Interprocess Communication and Networking (7)
- Internet Data Handling (16)
- Structured Markup Processing Tools (15)
- Internet Protocols and Support (25)
- Multimedia Services (10)
- Internationalization (2)
- Program Frameworks (2)
- Graphical User Interfaces with Tk (5)
- Development Tools (5)
- Debugging and Profiling (5)
- Python Runtime Services (17)
- Custom Python Interpreters (2)
- Restricted Execution (2)
- Importing Modules (7)
- Python Language Services (13)
- Miscellaneous Services (1)
詳細的說明可以參閱官網的The Python Standard Library。這理必須提到Python的哲學,Python具有「batteries included」,battery指的就是這些標準程式庫,這些標準程式庫都是一般普遍常用的功能,能夠立即解決功能上的需求,因此開發時不太需要額外安裝其他程式庫。
###
沒有留言:
張貼留言