Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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]Öض¨ÏòÊä³ö

  µ÷ÓÃÒ»¸ö¿ØÖÆ̨³ÌÐò£¬»ñÈ¡ËüµÄ±ê×¼Êä³ö£¬»ò°ÑËüµÄ±ê×¼Êä³öÖض¨Ïòµ½½çÃæÉÏ£¬ÕâÀïÖ»½éÉÜÈçºÎ»ñÈ¡ËüµÄ±ê×¼Êä³ö£¬ÒòΪԭÀí¶¼Ò»ÑùµÄ¡£
ʹÓÃpython2.5µÄsubprocessÄ£¿éÀ´ÊµÏÖ¡£
import sys
import subprocess
def RunShellWithReturnCode(command, print_output=False,
universal_newline ......

ʹÓÃpdb½øÐÐpythonµÄµ÷ÊÔ

1 ÔÚÏëÒª²åÈë¶ÏµãµÄµØ·½²åÈë´úÂë
                import pdb
                pdb.set_trace()
2È»ºóʹÓÃÖ¸Áî½øÐÐdebug
²é¿´´úÂëÉÏÏÂÎÄ£¬l£¨Ð¡Ð´L£©
¼àÊÓ±äÁ¿ ......

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

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

Python intÀàÐͲåÈëÊý¾Ý¿â MySQLdb

 def test2():
 32     db = util.DBUnit('mysql_ab')                                    &nb ......

pythonÖÐdatetimeµÄ±È½Ï·½·¨Ê¹ÓÃ


pythonÖеÄdatetime moduleÊÇרÃÅ´¦Àíʱ¼äÏà¹ØÄÚÈݵÄÄ£¿é,¹¦ÄܺÜÇ¿´ó,µ«ÊÇ·´¶øÏԵñȽϸ´ÔÓ¡£
һϴúÂëÊÇÓÃÀ´Çó´ÓmysqlÖÐÈ¡µ½µÄtimestampºÍµ±Ç°Ê±¼ä±È½Ï£¬Çóʱ¼ä²îµÄ·½·¨
import datetime
lasttime=a.get_last_timestamp(sid=40)[-1]["last_time"] #È¡µ½timestamp
delta = datetime.datetime.now()-lasttime   # ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ