【干货】50 个常用的 Python 库和示例代码
通过分析 github 上 5000 个开源 python 项目,找出了最常用的库,下表是最常用的前
50 个。括号里的数字代表其出现的次数。
序号 库 链接
1 os(2810) http://www.programcreek.com/python/index/1/os
2 sys(2563) http://www.programcreek.com/python/index/2/sys
3 re(1986) http://www.programcreek.com/python/index/3/re
4 time(1478) http://www.programcreek.com/python/index/4/time
5 logging(1080) http://www.programcreek.com/python/index/5/logging
6 datetime(1032) http://www.programcreek.com/python/index/6/datetime
7 unittest(960) http://www.programcreek.com/python/index/7/unittest
8 random(891) http://www.programcreek.com/python/index/8/random
9 urllib(776) http://www.programcreek.com/python/index/9/urllib
10 os.path(723) http://www.programcreek.com/python/index/10/os.path
11 string(659) http://www.programcreek.com/python/index/11/string
12 math(560) http://www.programcreek.com/python/index/12/math
13 socket(556) http://www.programcreek.com/python/index/13/socket
14 types(548) http://www.programcreek.com/python/index/14/types
15 subprocess(529) http://www.programcreek.com/python/index/15/subprocess
16 temp'le(492) http://www.programcreek.com/python/index/16/temp'le
评论1
最新资源