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

¡¶Dive Into Python¡··ÇËÀ²»¿É

ÒëÕßÑÔ£º
ÔçÔÚ 2008 Äê 8 Ô£¬ÎÒ¾ÍÔøÔÚ×Ô¼ºµÄ²©¿Í·¢±íÁËһƪ¡¶ÎªÊ²Ã´<Dive into Python>²»ÖµµÃÍƼö¡·£¨http://blog.csdn.net/lanphaday/archive/2008/08/28/2845258.aspx
£©£¬µ±Ê±ÒýÆðµÄÌÖÂ۾Ͳ»¶à˵ÁË£¬²»¹ýÊÂʵÉϵ½½ñÌìÈÔÈ»ÓÐÐí¶àÅóÓÑÁôÑÔÓëÎÒÌÖÂÛ£¬ÈÃÎÒ¼¸´ÎÔôÐIJ»ËÀ£¬ÏëдÔÙÉîÈëÅúÅС£ºÃÔ˵ÄʱºòÔÚÎÒÕæÕýÔÜ×㶯Á¦Ö®Ç°£¬¿´µ½ÁËÕâƪ¡¶Dive Into Python Must Die¡·£¬ÂîµÃÍ´¿ì£¡ËùÒÔÎҾͰÑËü¼òµ¥·­Òëһϣ¬½è»¨Ï×·ð£¬Ò²ËãÊÇ×÷Ϊ´ó¼Ò¶ÔÎÒ֮ǰµÄСÎĵÄÒ»¸ö»ØÓ¦¡£
===================
Ô­ÎÄ£ºhttp://oppugn.us/posts/1272050135.html
Ò룺ÀµÓºƣ¨http://laiyonghao.com
£©
By Zed A. Shaw
¡¶Dive Into Python¡··ÇËÀ²»¿É
ÎÒÊܹ»ÁË¡£
¡¶Dive Into Python¡·
ÊÇÒ»±¾¹ØÓÚѧϰ
Python µÄÀÃÊ飬Ëü·ÇËÀ²»¿É¡£
Ðí¶àÈËÕÒµ½Õâ±¾Ê飬²¢±»Ëü¼«ÆäÀ¬»øµÄÕ½ÚÉè¼ÆŪ
ËÀÔÚѧϰ֮·ÉÏ£¬Îª´ËÎÒ¾ö¶¨ÐûÕ½ÁË¡£
¸ÃÊé²»¿É˼Ò飬ʹÓùýʱµÄ¼¼Êõ£¬¾ÙÃæÄ¿¿ÉÔ÷µÄÀý
×Ó£¬²¢ÇÒ Mark Pilgrim£¨×÷Õߣ©Ãæ¶ÔËûÈËÆÀÂÛʱÀä³°ÈÈ·í£º
09:42 @
diveintomark @ zedshaw ÍêÈ«ÖØдÁËÒ»±¾ÎÒ 6 Äêû´òÀí¹ýµÄÊéµÄÇ°3Õ£¿
Êǵģ¬ÎÒ¼´¿ÌÈ¥°ì¡£
11:32
@ diveintomark @ zedshaw Äã¿Ï¶¨ÊÇÓкܶàÒâ¼û¡£
Äã×îºÃÔÚ²©¿ÍÉÏд£¡
ÕâÊÇËû¶ÔÎÒÌá³ö´ÓÊéÖÐ°Ñ ODBC Ïà¹ØÕ½Úɾ³ýµÄ´ð¸´¡£
ÏÖÔÚÒѾ­ 2010
ÄêÁË£¬ËûÄDZ¾ºÅ³ÆÄܹ»½Ì»á´ó¼Ò±à³ÌµÄ¸ÃËÀµÄÊ飬ÈÔȻʹÓÃÉÏÊÀ¼Í 90 Äê´úµÄ¼¼Êõ¡£
Êǵģ¬ÊÂʵÉÏ
Ëû
ÊÇÔÚ 6 ÄêÇ°½Ìѧ Python ʱ¿ªÊ¼
дËûµÄÊéµÄ¡£
µ«¼´Ê¹µ±Ê±ÕâÒ²ÊÇÒ»¸öÓÞ´À
µÄ¾ö¶¨¡£
ÕâÔڿƼ¼ÊéÀúÊ·ÉÏÎÅËùδÎÅ¡£
Mark Lutz µÄÊ顶Learing
Python¡·ÒѸüР4 ´Î£¬ÄÚÈÝÓëÕâÃűà³ÌÓïÑÔÑϸñÒ»Ö¡£
ËûµÄÊéºÜÈÝÒ×ÔĶÁ£¬ºÜÈÝÒ×
½Ì»á´ó¼Ò£¬¶ÁÕß²¢²»ÐèÒªÓжàÉÙÓйؼÆËã»úµÄ֪ʶ¡£
Óë´Ëͬʱ£¬Pilgrim ÏÈÉúµÄÊéÒѾ­ 6
ÄêûÓиüУ¬ËäÈ»ËüÊÇÔÚÏßÊé¼®£¬¶ÁÕßÄܹ»¸ø×÷ÕßÌá½»²¹¶¡¡£
û´í£¬Õâ¼Ò»ïµÄÊéÊÇ°ÚÔÚÁËÍøÂçÉÏ£¬¿ÉÊǼ´Ê¹´ó¼Ò
¶¼¸øËûÌáÁËÒâ¼ûºÍ·´À¡£¬ËûÈÔÈ»ÀÁµÃ¸üС£
Èç¹ûËû°ÑÊéµÄÔ´ÂëÄóöÀ´£¬ÄÇô´ó¼ÒÒ²¿ÉÒÔΪËû¾À
ÕýÕâЩ´í©£¬µ«ËûûÓС£Ëû°Ñ×Ô¼ºµÄÄÇíÈʺ·Åµ½ÍøÉÏÃâ·ÑÔĶÁ£¬ÒÔ´Ë×÷ΪÓ롶Learing Python¡·¾ºÕùµÄΨһÊֶΡ£
¡¶Dive
Into Python¡·²¢·Ç½ö½öÒòΪʹÓÃÁË ODBC ¶ø±»ÆÀΪÀÃÊ飬¼´Ê¹µÚÒ»¸öÀý×ÓÒ²Àõ½Èçͬ¹·Êº¡£
¿´¿´ÄãµÄµÚÒ»¸ö Python ³ÌÐò
£¬ÓжàÉÙ¶«Î÷ÐèÒª³õѧÕßÄܹ»憣È»ÁìÎò£º
´ø×ÅÒ»íȾ޴óµÄÎĵµ×Ö·û´®
È¥¶¨Ò庯Êý¡£
ÃæÄ¿¿ÉÔ÷µÄË«Ï»®Ïß±äÁ¿£¬»¹Ê¹


Ïà¹ØÎĵµ£º

PythonÖÐreactor,factory,protocolµÄѧϰ±Ê¼Ç


PythonÖÐreactor,factory,protocolµÄѧϰ±Ê¼Ç
 
 
×îΪ¼òµ¥µÄÇé¿öÏ£¬³ýÁËÁ˽âÇåreactorµÄ¼òµ¥Ê¹Óã¬Ä㻹ҪÁ˽âProtocolºÍFactory¡£ËüÃÇ×îÖÕ¶¼»áÓÉreactorµÄÕìÌý½¨Á¢ºÍrunÀ´Í³Ò»µ÷¶ÈÆðÀ´¡£    
   
     ½¨Á¢·þÎñÆ÷µÄµÚÒ»¸öÒª½â¾öµÄÎÊÌâ¾ÍÊÇ·þÎñÓëÍâ½çµÄ½»Á÷Э ......

ʹÓÃpython»ñÈ¡htmlÒ³ÃæµÄÄÚÈÝ

import urllib
from HTMLParser import HTMLParser
class TitleParser(HTMLParser):
def __init__(self):
self.title = ''
self.divcontent = ''
self.readingtitle = 0
self.readingdiv = 0
HTMLParser.__init__(self)
def handle_starttag(self, tag, attrs): ......

±àÒëÁËwindowsϵÄpython3Á¬½ÓMysqlµÄ¿âmypysql


±àÒëÁËÒ»¸öwindowsϵÄpython3Á¬½ÓMysqlµÄ¿â
mypysql
°æ±¾ÊÇ 0.5.1 £¬¸ù¾Ý¹Ù·½µÄÐÞ¸ÄÈÕÖ¾£¬Õâ¸ö°æ±¾ÐÞ¸ÄÁË0.5ÖÐÒ»¸öÄÚ´æй©ÎÊÌâ¡£
Ô´´úÂëºÍ±àÒëºóµÄÎļþΪ£º
http://211.147.215.55/down/mypysql-0.5.1-win.zip
mypysqlµÄ¹Ù·½µØÖ· https://sourceforge.net/projects/mypysql/
......

Python£¬¼òµ¥µÄÁ¦Á¿

Python£¬¼òµ¥µÄÁ¦Á¿
¶¹°êÍø¶Ô»¥ÁªÍøÓû§À´ËµÊÇÖªÃûµÄWeb 2.0ÉçÇø£¬µ«¶Ô¿ª·¢Õ߶øÑÔ£¬¸üÖØÒªµÄÊÇÒ»¸öÓ¦ÓÃPython´òÔìµÄ·Ç³£³É¹¦µÄWeb 2.0Õ¾µã¡£
Pythonµ®ÉúÒÑÓÐ20ÄêµÄÀúÊ·£¬Ä¿Ç°¹úÄÚµÄPython·¢Õ¹×´¿öÈçºÎ£¿ÓëÆäËûÓïÑÔ£¨Æ½Ì¨£©Ïà±È£¬PythonÓÐÄÄЩÏÔ¶øÒ×¼ûµÄÓŵ㣿¶¹°êÓ¦ÓÃPython½øÐÐWeb¿ª·¢ÓÐÄÄЩ³É¹¦¾­Ñé¿ÉÒÔ½è¼ø£¿´ø×ÅÕâЩΠ......

Python TKinter Gui: Toplevel window

#from pp3e Chapter 9.3
#############################################################################
# popup three new window, with style
# destroy() kills one window, quit() kills all windows and app; top-level
# windows have title, icon, iconify/deiconify and protocol for wm events;
# there ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ