Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ºÜÈ«µÄPython×ÊÔ´ÊÕ¼¯

Programming Python, 2nd Edition (O'Reilly)
http://www.osbbs.com/dl/Programming Python, 2nd Edition (O'Reilly).chm
ºÜÈ«ºÜ¾­µäÁËpythonѧϰÈëÃÅ×ÊÁÏ
OReilly - Learning Python:
http://www.osbbs.com/dl/OReilly - Learning Python.chm
OReilly - Python Cookbook.chm:
http://www.osbbs.com/dl/OReilly - Python Cookbook.chm
¾­µäÖеľ­µä,ÎÒµÄ×î°®.
OReilly - Python Standard Library.chm
http://www.osbbs.com/dl/OReilly - Python Standard Library.chm
python±ê×¼¿â˵Ã÷
thinking in python.chm
http://www.osbbs.com/dl/thinking in python.chm
Ò²»¹²»´í~ÎÒ¿´µÃ±È½ÏͶÈë
PythonInNutshell.zip
http://www.osbbs.com/dl/PythonInNutshell.zip
´«ËµÖеľ­µä,²»¹ýһֱûÀ´µÃ¼°¿´.
sockets.pdf
http://www.osbbs.com/dl/sockets.pdf
pythonµÄsocket±à³Ì
diveintopython-html-5.4.zip
http://www.osbbs.com/dl/diveintopython-html-5.4.zip
¡¶ÉîÈëpython¡·
html-2.3.4.zip
http://www.osbbs.com/dl/html-2.3.4.zip
python2.3.4µÄÊÖ²á
LovePython.zip
http://www.osbbs.com/dl/LovePython.zip
Addison-Wesley Python Programming with the Java Class Libraries.chm
http://www.osbbs.com/dl/Addison-Wesley Python Programming with the Java Class Libraries.chm
OReilly - Python Programming on Win32.chm
http://www.osbbs.com/dl/OReilly - Python Programming on Win32.chm
pythonµÄwin32±à³Ì½²½â
Win32.zip
http://www.osbbs.com/dl/Win32.zip
ÉÏÃæÒ»ÊéµÄÔ´Âë
python2.3tut.zip
http://www.osbbs.com/dl/python2.3tut.zip
O'Reilly - Python & XML.rar
http://www.osbbs.com/dl/O'Reilly - Python & XML.rar
cjkcodecs-1.0.3.zip
http://www.osbbs.com/dl/cjkcodecs-1.0.3.zip
Ö§³Ö¶«·½ÎÄ×Ö
gb2312.zip
http://www.osbbs.com/dl/gb2312.zip
CANVAS3_VivianLi.rar
http://www.osbbs.com/dl/CANVAS3_VivianLi.rar
pythonдµÄ°²È«¼ì²


Ïà¹ØÎĵµ£º

PythonÕýÔò±í´ïʽµÄ³£ÓÃÆ¥ÅäÓ÷¨


ÏÂÃæÁгöPythonÕýÔò±í´ïʽµÄ¼¸ÖÖÆ¥ÅäÓ÷¨£º
1.²âÊÔÕýÔò±í´ïʽÊÇ·ñÆ¥Åä×Ö·û´®µÄÈ«²¿»ò²¿·Ö
regex=ur"" #ÕýÔò±í´ïʽ
if re.search(regex, subject):
    do_something()
else:
    do_anotherthing()
2.²âÊÔÕýÔò±í´ïʽÊÇ·ñÆ¥ÅäÕû¸ö×Ö·û´®
regex=ur"\Z" #ÕýÔò±í´ïʽĩβÒÔ\ ......

ÓÃpythonдµÄץȡÌìÆøÔ¤±¨µÄ½Å±¾

ÓÃpythonдµÄץȡÌìÆøÔ¤±¨µÄ½Å±¾
http://blog.chinaunix.net/u2/82009/showart_2166843.html
´Ó×òÌ쿪ʼµÄ¿´¹ØÓÚÍøÂçץȡµÄ¶«Î÷£¬¶øÇÒ×Ô¼ºµÄÓõÄÊÇawesome £¬ËùÒÔдÁËÕâ¸öÌìÆøÔ¤±¨µÄ½Å±¾¸øÎÒµÄawesome£¬Õâ¸öÌìÆø½Å±¾Ö±½ÓÈ¡ÏÂÀ´µÄ»°ÊÇÆßÌìµÄÌìÆøÔ¤±¨´ÓÖйúÌìÆøÍøÉÏ£¬ÎÒºóÃæ¶ÔËü×öÁË´¦Àí£¬Óõ½ÁËÎÒµÄawesomeÉÏ
Ч¹û£º1ÈÕÐÇ ......

µÚÒ»¸öpythonС³ÌÐò

ÏеÄÎÞÁľͿ´ÁËÒ»µã¹ØÓÚpythonµÄ»ù´¡ÖªÊ¶£¬µ±Ê±Ò²²»ÖªµÀpythonºÍperlÖ®¼äÕùÂÛµÄÕâôµÄ¼¤ÁÒ£¨Ö÷ÒªÊǵ±Ê±²»ÖªµÀperlÕâ¸öÓïÑÔµÄÐÔÖÊ),ËùÒÔÖ±½Ó¾Í¿´ÁËpython£¬ÏÂÃæÊÇÎҵĵÚÒ»¸öÓÃpythonдµÄС³ÌÐòÔ´Â룬ϣÍûÅóÓÑÃǶà¶àÖ¸½Ì£¬ÓÐʲôÎÊÌâ´ó¼Ò¾¡¹ÜÖ¸Õý£¬ÔÚ´ËÏÈлл´ó¼ÒÁË¡£
[code]
#!/usr/bin/python
import sys, os, re
impor ......

Python MySqlDB Ôöɾ¸ÄÊý¾Ý¿â


ÏÂÔØ°²×°MySQLdb
http://sourceforge.net/projects/mysql-python/ ºÃÏñû¿´µ½windows°æ±¾for python2.6µÄÏÂÔØ£¬ÍøÉÏËÑË÷µ½Ò»¸ö
http://www.technicalbard.com/files/MySQL-python-1.2.2.win32-py2.6.exe
°²×°ºóimport MySQLdb»á³öÏÖ DeprecationWarning: the sets module is deprecated ÕâÑùÒ»¸ö¾¯¸æ£¬googleÖ®
......

python ÈçºÎ·µ»Ø¶à¸öÖµ

ÈçºÎдһ¸ö·µ»Ø¶à¸öÖµµÄº¯Êý
º¯ÊýµÄreturn Óï¾äÖ»ÄÜ·µ»ØÒ»¸öÖµ£¬¿ÉÒÔÊÇÈκÎÀàÐÍ¡£
Òò´Ë£¬ÎÒÃÇ¿ÉÒÔ“·µ»ØÒ»¸ö tupleÀàÐÍ£¬À´¼ä½Ó´ïµ½·µ»Ø¶à¸öÖµ
”¡£
Àý:   x ³ýÒÔ y µÄÓàÊýÓëÉ̵ĺ¯Êý
def    F1 ( x, y ):
         a = x % y
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ