一个不错的搜索Example的网站:http://www.programcreek.com/python/

通过分析github上5000个开源python项目,找出最常用的库。下面是前670个。括号里的数字代表出现的频率,最大为5000。

1.os (2810)

2.sys (2563)

3.re (1986)

4.time (1478)

5.logging (1080)

6.datetime (1032)

7.unittest (960)

8.random (891)

9.urllib (776)

10.os.path (723)

11.string (659)

12.math (560)

13.socket (556)

14.types (548)

15.subprocess (529)

16.tempfile (492)

17.shutil (484)

18.threading (475)

19.traceback (473)

20.urllib2 (472)

21.copy (455)

22.cgi (425)

23.struct (420)

24.warnings (412)

25.base64 (398)

26.urlparse (377)

27.codecs (365)

28.itertools (328)

29.glob (322)

30.inspect (310)

31.operator (309)

32.StringIO (304)

33.errno (302)

34.optparse (298)

35.hashlib (288)

36.httplib (271)

37.json (269)

38.pickle (251)

39.signal (248)

40.getopt (236)

41.csv (218)

42.mimetypes (205)

43.ConfigParser (202)

44.settings (198)

45.simplejson (197)

46.gtk (188)

47.imp (183)

48.pprint (178)

49.zipfile (174)

50.textwrap (170)

51.hmac (168)

52.uuid (167)

53.stat (166)

54.numpy (165)

55.weakref (164)

56.fnmatch (163)

57.locale (158)

58.binascii (157)

59.calendar (156)

60.cStringIO (154)

61.django (153)

62.md5 (152)

63.getpass (151)

64.thread (151)

65.select (147)

66.Queue (143)

67.platform (138)

68.gobject (133)

69.gzip (133)

70.config (130)

71.collections (130)

72.doctest (127)

73.utils (124)

74.smtplib (124)

75.__builtin__ (123)

76.cPickle (123)

77.commands (121)

78.yaml (118)

79.xmlrpclib (117)

80.atexit (114)

81.zlib (111)

82.functools (110)

83.pkg_resources (110)

84.gettext (109)

85.util (106)

86.sqlite3 (102)

87.decimal (102)

88.array (101)

89.sgmllib (100)

90.cgitb (100)

91.posixpath (100)

92.wsgiref.handlers (98)

93.gc (95)

94.sha (90)

95.pdb (90)

96.unicodedata (90)

97.tarfile (88)

98.ctypes (88)

99.models (87)

100.htmlentitydefs (86)

101.pygtk (84)

102.exceptions (83)

103.Image (81)

104.new (78)

105.rfc822 (78)

106.pygame (77)

107.wx (77)

108.MySQLdb (76)

109.feedparser (74)

110.difflib (73)

111.asyncore (72)

112.shlex (72)

113.Cookie (69)

114.matplotlib (68)

115.argparse (68)

116.marshal (65)

117.__future__ (64)

118.email (63)

119.bisect (62)

120.shelve (62)

121.pstats (61)

122.BaseHTTPServer (60)

123.nose (59)

124.webbrowser (59)

125.fcntl (59)

126.tokenize (58)

127.tagging (25)

196.psycopg2 (25)

197.atom (25)

198.oauth (25)

199.filecmp (25)

200.dis (25)

201.glib (24)

202.logging.config (23)

203.appengine_django (23)

204.gdata (23)

205.gst (23)

206.fields (23)

207.requests (22)

208.ops (22)

209.cryptomath (22)

210.testdata (22)

211.gdata.apps (22)

212.gdata.docs (22)

213.Python_AES (22)

214.pyglet (22)

215.xml (22)

216.mathtls (22)

217.py (22)

218.pymongo (22)

219.redis (20)

233.httpserver (20)

234.ldap (20)

235.win32event (20)

236.formencode (19)

237.BeautifulSoup (19)

238.SimpleXMLRPCServer (19)

239.gconf (19)

240.html5lib (19)

241.pygments (19)

242.test (19)

243.symbol (18)

244.pkgutil (18)

245.copy_reg (18)

246.session (18)

247.mechanize (18)

248.net (18)

249.html4 (18)

250.treeprocessors (18)

251.SimpleHTTPServer (18)

252.relativedelta (18)

253.errors (18)

254.postprocessors (18)

255.preprocessors (18)

256.PIL.Image (18)

257.multifile (17)

258.ast (17)

259.pinax (17)

260.colorsys (17)

261.document (17)

262.syslog (17)

263.plistlib (17)

264.tools (17)

265.db (17)

266.handler (16)

267.url_manager (16)

268.tkMessageBox (16)

269.resource (16)

270.log (16)

271.ssl (15)

272.bottle (15)

273.wsgiref.util (15)

274.profile (15)

275.ElementTree (15)

276.Numeric (15)

277.win32serviceutil (15)

278.keyword (15)

279.robot_abstract (15)

280.py_compile (15)

281.poplib (15)

282.main (15)

283.win32gui (15)

284.clr (15)

285.pywintypes (14)

286.core (14)

287.misc (14)

288.nltk (14)

289.importlib (14)

290.coverage (14)

291.cmath (14)

292.paramiko (14)

293.pexpect (14)

294.uu (14)

295.openid (14)

296.couchdb (11)

362.pynotify (11)

363.discoverdata (11)

364.cv (11)

365.forms (11)

366._beautifulsoup (11)

367.datadriven (11)

368.termios (11)

369.SCons.Tool (11)

370.nose.case (11)

371.bdb (10)

372.mergejs (10)

373.sunaudio (10)

374.xmpp (8)

461.options (8)

462.uploadhandler (8)

463.connection (8)

464.support (8)

465.robot (8)

466.paste.fixture (8)

467._hotshot (8)

468.msilib (8)

469.gedit (8)

470.threadinglocal (8)

471.ShUtil (7)

472.mozrunner (7)

473.SCons.SConf (7)

474.rpc (7)

475.ProgressBar (7)

476.__init__ (7)

477.zc.buildout (7)

478.gviz_api (7)

479.LitConfig (7)

480.aixcc (7)

481.pip (7)

482.interface (7)

483.stubout (7)

484.SCons.Options (7)

485.link (7)

486.blip (7)

487.backend (7)

488.rospy (7)

489.wsgiref.headers (7)

490.SCons.Platform (7)

491.SCons.SConsign (7)

492.SCons.Subst (7)

493.SCons.Executor (7)

494.lib (7)

495.paste.fileapp (7)

496.distutils.dir_util (7)

497.metadata (7)

498.ntpath (7)

499.smtpd (7)

500.input (7)

501.SCons.CacheDir (7)

502.gdb (7)

503.ui (7)

504.pp (7)

505.SCons.PathList (7)

506.foo (7)

507.evalcontext (7)

508.groc (7)

509.wsgi_intercept (7)

510.SCons.Taskmaster (7)

511.f77 (7)

512.pyamf (7)

513.chardet (7)

514.graph (7)

515.static (7)

516.build (7)

517.wavelet (7)

518.element (7)

519.pymc (6)

520.database (6)

521.test_utils (6)

522.nose.config (6)

523.planet (6)

524.common_lint (6)

525.urlconf_outer (6)

526.IPython.ipapi (6)

527.robotparser (6)

528.genericpath (6)

529.sqlite (6)

530.Carbon.File (6)

531.ioloop (6)

532.IPython (6)

533.cssutils (6)

534.lex (6)

535.gnome (6)

536.ossaudiodev (6)

537.scipy.special (6)

538.docutils.core (6)

539.player (6)

540.routes (6)

541._multiprocessing (6)

542.jarray (6)

543.auth (6)

544.flickrapi (6)

545.anyjson (6)

546.ZSI (6)

547.urlconf_inner (6)

548.h5py (6)

549.interfaces (6)

550.UserString (6)

551.consts (6)

552.sre_compile (6)

553._ctypes_test (6)

554.reflect (6)

555.yql (6)

556.tkFileDialog (6)

557.qt (6)

558.wx.aui (6)

559.statistics (6)

560.gmock_test_utils (6)

561.irclib (6)

562.xbmc (6)

563.engine (6)

564.stackless (6)

565.Options (6)

566.status (6)

567.ansi (6)

568.pyclbr (6)

569.pyinotify (6)

570.gdbm (5)

571.django_filters (5)

572.win32process (5)

573.audioop (5)

574.plugins (5)

575.debug (5)

576.wave (5)

577.nose.selector (5)

578.mx.DateTime (5)

579.serializers (5)

580.pluginlib (5)

581.reports (5)

582.pystache (5)

583.PyShell (5)

584.tz (5)

585.loader (5)

586.webtest (5)

587.BIFFRecords (5)

588.language (5)

589._mysql (5)

590.symtable (5)

591.System (5)

592.CosNaming (5)

593.distutils.tests (5)

594.env (5)

595.configuration (5)

596.cjson (5)

597.ImageDraw (5)

598.usb (5)

599.strop (5)

600.ipaddr (5)

601.scanner (5)

602.format (5)

603.http_server (5)

604.epydoc.docparser (5)

605.pysvn (5)

606.neo_cs (5)

607.haystack (5)

608.test_i18n (5)

609.crash_test_dummy (5)

610.xbmcgui (5)

611.manager (5)

612.Exceptions (5)

613.bpy (5)

614.sre (5)

615.win32com.client (5)

616._base (5)

617.zen_editor (5)

618.apt (5)

619.distutils.version (5)

620.app (5)

621.Pmw (5)

622.rpm (5)

623.Logs (5)

624.killableprocess (5)

625.epydoc (5)

626.bluetooth (5)

627.rexec (5)

628.modulefinder (5)

629.webhelpers (5)

630._strptime (5)

631.dircache (5)

632.epydoc.markup (5)

633.tidylib (5)

634.templates (5)

635.process (5)

636.OSC (5)

637.actions (5)

638.ihooks (5)

639.xlwt (5)

640.ipthelp (5)

641.distutils.dist (5)

642.txamqp.spec (5)

643.run_tests_util (5)

644.fractions (5)

645.treebuilders (5)

646.enchant (5)

647.win32pipe (5)

648.caching.base (5)

649.gnomevfs (5)

650.sphinx.roles (5)

651.markup (5)

652.release (5)

653.rrdtool (5)

654.test_default_server (5)

655.polib (5)

656.jingo (5)

657.nose.tools (5)

658.Pyro.core (5)

659.opcode (5)

660.webchecker (5)

661.match (5)

662.libvirt (5)

663.ExcelFormula (5)

664.taskqueue_service_pb (5)

665.maths (5)

666.Formatting (5)

667.portalocker (5)

668.objects (5)

669._testcapi (5)

670.cyclone.web (5)

python示例库,常用的Python库和示例代码(快速上手)相关推荐

  1. itertools库常用高效迭代器一览表,帮你快速实现数据的排列组合【python】

    itertools库常用高效迭代器一览表,帮你快速实现数据的排列组合 文档: https://docs.python.org/zh-cn/3/library/itertools.html iterto ...

  2. 关于python的各个常用软件——python、pycharm、anaconda

    关于python的各个常用软件--python.pycharm.anaconda 工欲善其事,必先利其器.在我们学习python语言之前,必须要先安装一个顺手的编程工具,和python相关的软件有很多 ...

  3. python常用标准库有哪些-Python开发中常用的标准库

    大多数基于 Python 开发的应用程序都会用到本地标准库和三方库,这样不仅能让我们把时间去关注真正的业务开发,也能学习到更多价值含量高的程序设计和开发思想.程序开发中有一句著名的话叫做: Don't ...

  4. python 连接oracle_常用的Python库,给大家分享一下!

    Tkinter---- Python默认的图形界面接口. Tkinter是一个和Tk接口的Python模块,Tkinter库提供了对Tk API的接口,它属于Tcl/Tk的GUI工具组.Tcl/Tk是 ...

  5. python与excel常用的第三方库_Python读写Excel文件第三方库汇总

    常见库简介 xlrd xlrd是一个从Excel文件读取数据和格式化信息的库,支持.xls以及.xlsx文件. http://xlrd.readthedocs.io/en/latest/ 1.xlrd ...

  6. 【Python全栈100天学习笔记】Day41 Django快速上手

    快速上手 Web开发的早期阶段,开发者需要手动编写每个页面,例如一个新闻门户网站,每天都要修改它的HTML页面,随着网站规模和体量的增大,这种方式就变得极度糟糕.为了解决这个问题,开发人员想到了用外部 ...

  7. python编程快速上手_给Python小白推荐的40本入门书籍,帮你快速上手

    喜欢编程,热爱分享,希望能结交更多志同道合的朋友,一起在学习Python的道路上走得更远!有不懂的问题可以私聊我哦! 最近,小编的 Python 交流裙里进来了几位比较特殊的同学:一位初三的以编程为兴 ...

  8. python中一些常用函数和库的介绍(getattr、id、type、sys)

    文章目录 getattr id type sys 获取变量占用空间 getattr 其功能非常强大,很多人以为其只能获取类的属性,远不止. getattr(a,"b"):获取目标a ...

  9. python re库常用_Python re库指南

    Mind Map Python RE 或到 这里 查看高清图 import re pattern = ... string = ... regex = re.compile(pattern) matc ...

最新文章

  1. linux 内核调试方法
  2. 深入基础(一)模块化
  3. matlab求微分方程同届,Matlab学习——求解微分方程(组)
  4. VS2005中,access对只读目录的属性判断不准确
  5. 【latex】最后一页 参考文献不平衡 左右不对齐
  6. Flutter从入门到进阶
  7. L1-043 阅览室-PAT团体程序设计天梯赛GPLT
  8. mysql和timescale联合查询_[技术干货] 时序数据库timescaleDB安装
  9. 十分钟一起学会ResNet残差网络
  10. Java程序员实现完美代码的十大要素
  11. Java面向对象编程(第2版)pdf
  12. Mac系统PR2022安装BeatEdit插件遇到各种问题解决
  13. iOS AddressBook
  14. 落日海鸥(Seagulls)
  15. DataGuard - 利用Cascaded Redo Log Destinations避免WAN稳定性问题
  16. 浪潮之巅读书笔记(三)
  17. java 混日子的四年
  18. 程序员提高阅读代码能力的几个方法
  19. 程序员:被问“刚毕业吧”,憋一口老血如何回击?网友:不理睬!
  20. Oracle ORA-12899错误的解决方法

热门文章

  1. IDEA中Project 和 Module的区别
  2. 015_logback中的自定义Appender
  3. worpress安装mysql连不上_wordpress安装时连接不上MySQL8.0(已解决)Windows
  4. 计算机包括桌面计算机和便携式计算机,()计算机包括桌面计算机和便携式计算机这两种形式...
  5. linux基本网络IP自动、手动配置
  6. python进程线程协程区别_Python3多线程与协程
  7. angularjs组件间通讯_详解Angular2组件之间如何通信
  8. 计算机优化英语,英语对计算机专业的重要性及如何提高英语水平
  9. python小技巧及速度提高-python编码时有什么技巧可以提升速度?
  10. 云南初中生计算机相关赛事,第14届中国大学生计算机设计大赛云南赛区决赛举行...