V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
yunan
V2EX  ›  Python

python必须要知道的库是什么

  •  
  •   yunan · 2013-01-17 01:02:00 +08:00 · 6953 次点击
    这是一个创建于 4362 天前的主题,其中的信息可能已经有所发展或是发生改变。
    表示不知道python的哪些库是比较重要的?求大家推荐一下。
    16 条回复    1970-01-01 08:00:00 +08:00
    humiaozuzu
        1
    humiaozuzu  
       2013-01-17 01:34:13 +08:00   ❤️ 3
    imom0
        2
    imom0  
       2013-01-17 01:42:41 +08:00 via Android   ❤️ 1
    标准库。
    tysx
        3
    tysx  
       2013-01-17 09:11:35 +08:00
    标准库的os,sys
    binux
        4
    binux  
       2013-01-17 09:17:37 +08:00
    __builtin__
    aisk
        5
    aisk  
       2013-01-17 10:01:55 +08:00
    requests
    sh
    venglide
        6
    venglide  
       2013-01-17 10:43:40 +08:00   ❤️ 6
    个人网络整理,仅作参考:
    [标准库]
    argparse, copy, datetime, decimal, fnmatch, functools, glob, heapq, inspect, itertools, json, logging, math, operator, os, os.path, pickle, random, re, shutil, sqlite3, StringIO, subprocess, sys, tempfile, threading, time, urllib2, weakref, wsgiref, xml.dom, xml.sax
    [外部库] 按个人兴趣自由选择
    === Graphical interface ===
    wxPython http://wxpython.org
    pyGtk http://www.pygtk.org
    pyQT http://www.riverbankcomputing.co.uk/pyqt/
    Pmw http://pmw.sourceforge.net/
    Tkinter 3000 http://effbot.org/zone/wck.htm
    Tix http://tix.sourceforge.net/

    === Database ===
    MySQLdb http://sourceforge.net/projects/mysql-python
    PyGreSQL http://www.pygresql.org/
    Gadfly http://gadfly.sourceforge.net/
    SQLAlchemy http://www.sqlalchemy.org/
    psycopg http://www.initd.org/pub/software/psycopg/
    kinterbasdb http://kinterbasdb.sourceforge.net/
    cx_Oracle http://www.cxtools.net/default.aspx?nav=downloads
    pySQLite http://initd.org/tracker/pysqlite

    === MSN Messenger ===
    msnlib http://auriga.wearlab.de/~alb/msnlib/
    pymsn http://telepathy.freedesktop.org/wiki/Pymsn
    msnp http://msnp.sourceforge.net/

    === Network ===
    Twisted http://twistedmatrix.com/

    === Images ===
    PIL http://www.pythonware.com/products/pil/
    gdmodule http://newcenturycomputers.net/projects/gdmodule.html
    VideoCapture http://videocapture.sourceforge.net/

    === Sciences and Maths ===
    scipy http://www.scipy.org/
    NumPy http://numpy.scipy.org//
    numarray http://www.stsci.edu/resources/software_hardware/numarray
    matplotlib http://matplotlib.sourceforge.net/

    === Games ===
    Pygame http://www.pygame.org/news.html
    Pyglet http://www.pyglet.org/
    PySoy http://www.pysoy.org/
    pyOpenGL http://pyopengl.sourceforge.net/

    === Jabber ===
    jabberpy http://jabberpy.sourceforge.net/

    === Web ===
    scrape http://zesty.ca/python/scrape.html
    Beautiful Soup http://crummy.com/software/BeautifulSoup
    pythonweb http://www.pythonweb.org/
    mechanize http://wwwsearch.sourceforge.net/mechanize/

    === Localisation ===
    geoname.py http://www.zindep.com/blog-zindep/Geoname-python/

    === Serial port ===
    pySerial http://pyserial.sourceforge.net/
    USPP http://ibarona.googlepages.com/uspp

    === Parallel Port ===
    pyParallel http://pyserial.sourceforge.net/pyparallel.html

    === USB Port ===
    pyUSB http://bleyer.org/pyusb/

    === Windows ===
    ctypes http://starship.python.net/crew/theller/ctypes/
    pywin32 http://sourceforge.net/projects/pywin32/
    pywinauto http://www.openqa.org/pywinauto/
    pyrtf http://pyrtf.sourceforge.net/
    wmi http://timgolden.me.uk/python/wmi.html

    === PDA/GSM/Mobiles ===
    pymo http://www.awaretek.com/pymo.html
    pyS60 http://sourceforge.net/projects/pys60

    === Sound ===
    pySoundic http://pysonic.sourceforge.net/
    pyMedia http://pymedia.org/
    FMOD http://www.fmod.org/
    pyMIDI http://www.cs.unc.edu/Research/assist/developer.shtml

    === Others ===
    [GMail] libgmail http://libgmail.sourceforge.net/
    [Google] pyGoogle http://pygoogle.sourceforge.net/
    [Expect] pyExpect http://pexpect.sourceforge.net/
    [WordNet] pyWordNet http://osteele.com/projects/pywordnet/
    [Command line] cmd http://blog.doughellmann.com/2008/05/pymotw-cmd.html
    [Compiler backend] llvm-py http://mdevan.nfshost.com/llvm-py/
    [3D] VPython http://vpython.org
    venglide
        7
    venglide  
       2013-01-17 10:46:53 +08:00
    补充下,对于一些特别有名的库像django之类的,就不作提及了;新的库每天都在增加,自己去淘吧。
    BOYPT
        8
    BOYPT  
       2013-01-17 13:31:08 +08:00
    求这样的列表有意义么,难道你打算去把他们的手册都背一次。。。
    swulling
        9
    swulling  
       2013-01-17 13:48:11 +08:00
    @BOYPT 可以用来做技术选型参考,不过我更喜欢这个

    http://docs.python-guide.org/en/latest/
    thedevil7
        10
    thedevil7  
       2013-01-17 14:43:47 +08:00
    都没人问问楼主用 Python 主要是干嘛么.... 我来!
    jjx
        11
    jjx  
       2013-01-17 15:23:07 +08:00
    不如改成 python有哪些杀手级的库,我个人比较推崇的是twisted, tornado, gevent ,sqlalchemy 觉得每个学python的都需要了解一下
    tarsier
        12
    tarsier  
       2013-01-17 15:30:51 +08:00
    @jjx twisted越来越不被推荐啊, 都说gevent简单好用
    jjx
        13
    jjx  
       2013-01-17 17:00:30 +08:00
    @tarsier twisted和gevent两种思维,我喜欢直接的,没有隐藏,gevent太多magic ,而且对windows 支持也不够好
    tarsier
        14
    tarsier  
       2013-01-17 17:07:46 +08:00
    @jjx twisted的思维实在是太twisted了。。。
    jjx
        15
    jjx  
       2013-01-17 17:16:58 +08:00
    @tarsier 其实对于twisted本身支持的协议,写法并非传言那样可怕,风格是template method式的.deferred回避不了了,比方说你用nodejs时,思维过了就过了,不过,就一直惧怕
    yunan
        16
    yunan  
    OP
       2013-01-17 22:47:07 +08:00
    谢谢大家啊。这个新年又有东西看了!!!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2722 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:23 · PVG 20:23 · LAX 04:23 · JFK 07:23
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.