Python learning-for Google

Source: Internet
Author: User
Tags gtk xml parser ftp client ftp protocol
[Edit this section]

Python resources:

Official homepage: http://www.python.org/

For Windows Python interpreter (including tkintergui development environment, a simple IDE, complete Extensive English documentation) 9 MB: http://www.python.org/ftp/python/2.4.3/python-2.4.3.msi

A good Python Chinese Tutorial: http://www.woodpecker.org.cn/obp/diveintopython-zh-5.4/zh-cn/dist/html/toc/index.html the station is committed to Python research, there are a lot of excellent textbooks download site.

Python ChineseCommunity: Http://python.cn/domestic Python Daniel will do this

Chinaunix forum area of the Python version of The http://bbs.chinaunix.net/forum-55-1.html can be considered as the domestic forum in the highest level of Python

What is the best http://china-pub.shop.eol.cn/computers/common/info.asp for getting started with python? Id = 25523

A good open source pythonide http://stani.be/python/spe/blog/

Welcome to Python China for discussion

All Python tutorials are in "Python China"

Http://www.okpython.com

Old Yellow paper box (yellow winter)

Web: http://blog.opensource.org.cn/hdcola/

Limodou Study Notes (wood)

Web: http://blog.donews.com/limodou/

Http://limodou.javaeye.com/

Qiu InBO

Http://www.dup2.org/blog

Fatsan's column-CTO Liang binghong of cool

Web: http://blog.csdn.net/FeiSan

Community/forum

Snake Network: http://bbs.pythonid.com/

Python Chinese community: http://www.pythonbbs.cn/

Http://bbs.chinaunix.net/thread-1164933-1-1.html

 

Ii. Python Library

 

Thanks to the joint efforts of designers and the open-source community, there are a large number of excellent libraries in Python that can be called directly to efficiently fulfill different requirements. Here are some common libraries:

Tkinter ---- default graphical interface of Python.

Tkinter is a python module with TK interfaces. The tkinter Library provides interfaces for TK APIs, which belong to the GUI tool group of Tcl/TK. Tcl/TK is a writing and graphics device developed by John Ousterhout. TCL (tool command language) is a macro language used to simplify the complexity of ShellProgramThe Tk Toolkit is developed with TCL to simplify the design process of user interfaces. The Tk toolkit consists of many different widgets, such as a button and a scroll bar. With these widgets provided by TK, we can quickly develop the GUI. Perl, scheme, and other languages also use the TK library for GUI development. Tkinter is cross-platform and can be used on various platforms.

Python imaging Library (PIL)-Python provides powerful graphic processing capabilities and supports a wide range of graphic file formats. This library can convert, print, and display graphic formats. It can also process some graphic effects, such as Zoom-in, zoom-out, and rotation. It is a powerful tool for python users to perform image processing.

PMW (Python megawidgets) Python super GUI component set-an advanced GUI component built using the tkinter module in Python. Each PMW combines one or more tkinter components, to achieve more useful and complex functions.

Pyxml-a toolkit for parsing and processing XML documents using python. The 4dom in the package is fully compatible with W3C Dom specifications. It contains the following content:

Xmlproc: a compliant XML parser.

Expat: a fast, non-verified XML parser. There are other

At the same level as him, there is also pyhtml pysgml.

Pygame-A module used for multimedia development and game software development.

Pyopengl-the module encapsulates the "OpenGL Application Programming Interface", through which Python programmers can integrate 2D and 3D graphics in the program.

Numpy, numarray, and sage ---- numarray is an extension library of Python. It is mainly used to process fixed arrays of any dimension. In short, it is a matrix library. Its Lower LayerCodeC is used for writing, so the speed advantage is obvious. Numpy is the successor of numarray, used to replace numarray. Sage is a mathematical software package based on numpy and several other tools. It aims to replace magma, maple, Mathematica and Matlab.

Mysqldb module ---- used to connect to the MySQL database. The zmysqlda module for Zope can be used to connect to the MySQL database in Zope.

Pygtk-GTK + Library Used for python GUI program development. GTK is the library used to implement gimp and gnome. With it, you can confidently try making your own Photoshop.

Pyqt-the QT development library for python. QT is the database that implements the KDE environment. It consists of a series of modules, including QT, qtcanvas, qtgl, qtnetwork, qtsql, qttable, qtui and qtxml, contains 300 classes and more than 5750 functions and methods. Pyqt also supports a module called qtext, which contains a qscintilla library. This library is the QT interface of the scintillar editor class.

Pymedia-Python module for multimedia operations. It provides rich and simple interfaces for multimedia processing (WAV, MP3, Ogg, Avi, DivX, DVD, cdda etc ). It can be used on Windows and Linux platforms.

Psyco-a Python code accelerator that increases the speed of Python code execution to the same level as the compiling language.

Python-LDAP-provides a set of object-oriented APIs to conveniently access the LDAP directory service in Python, which is based on openldap2.x.

Smtplib module-send an email.

Ftplib module ---- defines FTP classes and some methods for FTP programming on the client. We can use python to compile an FTP client program for downloading files or image sites. For more information about the FTP protocol, see rfc959.

The xmpppy module-The Jabber server adopts the developed XMPP protocol, and Google Talk is also an IM system using the XMPP protocol. In python, an xmpppy module supports this protocol. That is to say, we can use this module to communicate with the Jabber server. Is it cool.

The following is not detailed. Only names and functions are listed.

ADODB ---- ADO database connection component

Bsddb3 ---- berkeleydb connection component

Chardet ---- encoding Detection

Cheetah-build and expand any types of text-based content

Cherrypy ---- A Web Framework

Ctypes ---- used to call the dynamic link library

CX-Oracle ---- tools for connecting to Oracle

Dbutils ---- database connection pool

Django ---- A Web Framework

Dpkt ---- raw-scoket Network Programming

Docutils ---- used to write documents

Dpkt ---- packet unpacket and group package

Feedparser ---- RSS Analysis

Kodos ---- Regular Expression debugging tool

Machize ---- commonly used Web Crawlers

Pefile ---- windows PE file parser

Py2exe ---- used to generate windows executable files

Pycurl ---- URL Processing Tool

Pydot ---- graph, graphiz

Pyevent ---- Python event support

Pylint ---- cultivate good coding habits

Pylons ---- another Web Framework

Pypcap ---- packet capture

Pysqlite2-connection component of SQLite

Python-dnet-other devices that Control Network Security

Pythonwin ---- windows extension of Python

Pywmi ---- saves a lot of effort

Reportlab ---- libary for python operations PDF.

Scapy-Network Package Build Analysis Framework, programmable Wireshark, interested google "silver needle in the Skype"

Scons ---- the project construction tool. It is very convenient to use the template after it is written.

Sendpkt ---- Python package sending

Setuptools-a python package management mechanism

Simplejson ---- JSON support

Sqlalchemy ---- sqldatabase connection pool

Sqlobject ---- database connection pool

Twisted ---- network programming framework of the Big Mac

Winpdb ---- it's up to you when your program or other libraries are hard to understand.

Wxpython-Gui programming framework. People familiar with MFC will like it very much. It is simply the same architecture.

There are many other issues that cannot be listed completely.

The work of the open-source community has been completed to this level. Basically, various common programming requirements have been achieved by mature, stable, and high-speed modules. What you need to do, just find it and read the document.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.