Python 3.7 Documentation
Table of Content
What's new in Python 3.7?
1. Whetting Your Appetite
2. Using the Python Interpreter
3. An Informal Introduction to Python
4. More Control Flow Tools
5. Data Structures
6. Modules
7. Input and Output
8. Errors and Exceptions
9. Classes
10. Brief Tour of the Standard Library
11. Brief Tour of the Standard Library — Part II
12. Virtual Environments and Packages
13. What Now?
14. Interactive Input Editing and History Substitution
15. Floating Point Arithmetic: Issues and Limitations
16. Appendix
Installing Python Modules
Distributing Python Modules
1. Introduction
2. Lexical analysis
3. Data model
4. Execution model
5. The import system
6. Expressions
7. Simple statements
8. Compound statements
9. Top-level components
10. Full Grammar specification
1. Command line and environment
2. Using Python on Unix platforms
3. Using Python on Windows
4. Using Python on a Macintosh
Porting Python 2 Code to Python 3
Porting Extension Modules to Python 3
Curses Programming with Python
Descriptor HowTo Guide
Functional Programming HOWTO
Logging HOWTO
Logging Cookbook
Regular Expression HOWTO
Socket Programming HOWTO
Sorting HOW TO
Unicode HOWTO
HOWTO Fetch Internet Resources Using The urllib Package
Argparse Tutorial
An introduction to the ipaddress module
Argument Clinic How-To
Instrumenting CPython with DTrace and SystemTap
General Python FAQ
Programming FAQ
Design and History FAQ
Library and Extension FAQ
Extending/Embedding FAQ
Python on Windows FAQ
Graphic User Interface FAQ
“Why is Python Installed on my Computer?” FAQ
Introduction
Built-in Functions
Built-in Constants
Built-in Types
Built-in Exceptions
Text Processing Services
string
re
difflib
textwrap
unicodedata
stringprep
readline
rlcompleter
Binary Data Services
struct
codecs
Data Types
datetime
calendar
collections
collections.abc
heapq
bisect
array
weakref
types
copy
pprint
reprlib
enum
Numeric and Mathematical Modules
numbers
math
cmath
decimal
fractions
random
statistics
Functional Programming Modules
itertools
functools
operator
File and Directory Access
pathlib
os.path
fileinput
stat
filecmp
tempfile
glob
fnmatch
linecache
shutil
macpath
Data Persistence
pickle
copyreg
shelve
marshal
dbm
sqlite3
Data Compression and Archiving
zlib
gzip
bz2
lzma
zipfile
tarfile
File Formats
csv
configparser
netrc
xdrlib
plistlib
Cryptographic Services
hashlib
hmac
secrets
Generic Operating System Services
os
io
time
argparse
getopt
logging
logging.config
logging.handlers
getpass
curses
curses.ascii
curses.panel
platform
errno
ctypes
Concurrent Execution
threading
multiprocessing
The concurrent package
concurrent.futures
subprocess
sched
queue
_thread
_dummy_thread
dummy_threading
contextvars
Networking and Interprocess Communication
asyncio
socket
ssl
select
selectors
asyncore
asynchat
signal
mmap
Internet Data Handling
email
json
mailcap
mailbox
mimetypes
base64
binhex
binascii
quopri
uu
Structured Markup Processing Tools
html
html.parser
html.entities
XML Processing Modules
xml.etree.ElementTree
xml.dom
xml.dom.minidom
xml.dom.pulldom
xml.sax
xml.sax.handler
xml.sax.saxutils
xml.sax.xmlreader
xml.parsers.expat
Internet Protocols and Support
webbrowser
cgi
cgitb
wsgiref
urllib
urllib.request
urllib.parse
urllib.error
urllib.robotparser
http
http.client
ftplib
poplib
imaplib
nntplib
smtplib
smtpd
telnetlib
uuid
socketserver
http.server
http.cookies
http.cookiejar
xmlrpc
xmlrpc.client
xmlrpc.server
ipaddress
Multimedia Services
audioop
aifc
sunau
wave
chunk
colorsys
imghdr
sndhdr
ossaudiodev
Internationalization
gettext
locale
Program Frameworks
turtle
cmd
shlex
Graphical User Interfaces with Tk
tkinter
tkinter.ttk
tkinter.tix
tkinter.scrolledtext
IDLE
Other Graphical User Interface Packages
Development Tools
typing
pydoc
doctest
unittest
unittest.mock
unittest.mock
2to3 - Automated Python 2 to 3 code translation
test
Debugging and Profiling
bdb
faulthandler
pdb
The Python Profilers
timeit
trace
tracemalloc
Software Packaging and Distribution
... more
Python 3.7文档
表中的内容
Python 3.7有什么新功能?
1.磨砺你的胃口
2.使用Python解释器
3. Python的非正式介绍
4.更多控制流工具
5.数据结构
6.模块
7.输入和输出
8.错误和例外
9.课程
10.标准库简介
11.标准图书馆简介 - 第二部分
12.虚拟环境和包
13.现在怎么办?
14.交互式输入编辑和历史替换
15.浮点算术:问题和局限
16.附录
安装Python模块
分发Python模块
1.简介
2.词汇分析
3.数据模型
4.执行模型
5.进口系统
6.表达
7.简单陈述
8.复合陈述
9.顶级组件
10.完整的语法规范
1.命令行和环境
2.在Unix平台上使用Python
3.在Windows上使用Python
4.在Macintosh上使用Python
将Python 2代码移植到Python 3
将扩展模块移植到Python 3
使用Python进行Curses编程
描述符如何指南
功能编程HOWTO
记录HOWTO
记录食谱
正则表达式HOWTO
套接字编程HOWTO
排序如何
Unicode HOWTO
HOWTO使用urllib包获取Internet资源
Argparse教程
ipaddress模块介绍
参数诊所操作方法
使用DTrace和SystemTap检测CPython
一般Python FAQ
编程FAQ
设计和历史常见问题
图书馆和扩展常见问题
扩展/嵌入常见问题
Windows上的Python FAQ
图形用户界面FAQ
“为什么Python安装在我的电脑上?”常见问题解答
介绍
内置功能
内置常量
内置类型
内置例外
文本处理服务
串
回覆
difflib
文本换行
unicodedata
STRINGPREP
的ReadLine
rlcompleter
二进制数据服务
结构
编解码器
数据类型
约会时间
日历
集合
collections.abc
heapq
对分
排列
weakref
类型
复制
pprint
reprlib
枚举
数字和数学模块
数字
数学
CMATH
十进制
馏分
随机
统计
功能编程模块
itertools
functools
操作者
文件和目录访问
pathlib
os.path中
的FileInput
统计
filecmp
临时文件
glob的
的fnmatch
linecache
shutil
macpath
数据持久性
泡菜
copyreg
搁置
元帅
DBM
sqlite3的
数据压缩和存档
zlib的
gzip的
BZ2
LZMA
压缩文件
tar文件
文件格式
CSV
configparser
NETRC
xdrlib
plistlib
加密服务
hashlib
HMAC
秘密
通用操作系统服务
口
IO
时间
argparse
getopt的
记录
logging.config
logging.handlers
将getpass
诅咒
curses.ascii
curses.panel
平台
错误号
ctypes的
并发执行
穿线
多
并发包
concurrent.futures
子
附表:
队列
_线
_dummy_thread
dummy_threading
contextvars
网络和进程间通信
ASYNCIO
插座
SSL
选择
选择
asyncore
asynchat
信号
MMAP
互联网数据处理
电子邮件
JSON
mailcap的
邮箱
MIME类型
BASE64
BINHEX
binascii
quopri
UU
结构化标记处理工具
HTML
html.parser
html.entities
XML处理模块
xml.etree.ElementTree
xml.dom的
xml.dom.minidom
xml.dom.pulldom
xml.sax
xml.sax.handler
xml.sax.saxutils
xml.sax.xmlreader
xml.parsers.expat
互联网协议和支持
网页浏览器
CGI
cgitb
的wsgiref
的urllib
urllib.request里
的urllib.parse
urllib.error里
urllib.robotparser
HTTP
http.client
FTPLIB
poplib模块
imaplib
nntplib
的smtplib
smtpd的
telnetlib
UUID
SocketServer的
http.server
http.cookies
http.cookiejar
XMLRPC
xmlrpc.client
xmlrpc.server
IP地址
多媒体服务
audioop
AIFC
sunau
波
块
colorsys
imghdr
sndhdr
ossaudiodev
国际化
gettext的
现场
计划框架
龟
CMD
shlex
Tk的图形用户界面
Tkinter的
tkinter.ttk
tkinter.tix
tkinter.scrolledtext
闲
其他图形用户界面包
开发工具
打字
是pydoc
文档测试
单元测试
unittest.mock
unittest.mock
2to3 - 自动Python 2到3代码转换
测试
调试和分析
BDB
faulthandler
PDB
Python Profilers
timeit
跟踪
tracemalloc
软件包装和分发
... 更多