17. os模块中的os.tmpnam()和os.tmpfile()移到tmpfile模块中 18. http 在py2中相关的模块由httplib,Cookie, cookielib, BaseHTTPServer, SimpleHTTPServer, CGIHttpServer,在py3中统一到了http模块中,变成http.client,http.cookies, http.cookiejar, http.server. 19. urllib py2中存在两个包,urllib和urllib...
14 SocketServer模块: 用于简化网络客户与服务器的实现.14.1 BaseServer 包含服务器的核心功能与混合(mix-in)类的钩子功能, 该类用于派生, 不要直接生成14.2 TCPServer/UDPServer 基本的网络同步TCP/UDP服务器14.3 UnixStreamServer/UnixDatagramServer 基本的基于文件同步的TCP/UDP服务器14.4 ForkingMixIn 实现了核心...
python -m pip:使用Python的模块执行方式调用pip工具。 install:表示要执行安装操作。 --upgrade pip:指定要升级的目标为pip本身。 -i http://mirrors.aliyun.com/pypi/simple:指定使用阿里云的镜像源进行安装。-i参数后面跟的是镜像源的URL。 执行这条命令后,pip会从阿里云的镜像源下载最新版本的pip安装包,并进...
test_socketserver.py test_sort.py test_source_encoding.py test_ssl.py test_stable_abi_ctypes.py test_startfile.py test_stat.py test_statistics.py test_str.py test_strftime.py test_string.py test_string_literals.py test_stringprep.py test_strptime.py test_strtod.py test_struct.py ...