锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品gz久久久,国产成人综合久久久久久,精品久久久无码中文字幕http://m.shnenglu.com/Hero/category/11347.html 涓孌墊案榪滃皝瀛樼殑璁板繂錛岄殢椋庤屽幓zh-cnSat, 15 Aug 2009 03:53:03 GMTSat, 15 Aug 2009 03:53:03 GMT60POI_1http://m.shnenglu.com/Hero/archive/2009/08/05/92266.htmlHeroHeroWed, 05 Aug 2009 03:33:00 GMThttp://m.shnenglu.com/Hero/archive/2009/08/05/92266.htmlhttp://m.shnenglu.com/Hero/comments/92266.htmlhttp://m.shnenglu.com/Hero/archive/2009/08/05/92266.html#Feedback0http://m.shnenglu.com/Hero/comments/commentRss/92266.htmlhttp://m.shnenglu.com/Hero/services/trackbacks/92266.html1 //Hiro POI_1 accepted  0.04         3.7M  PYTH  
2 
3 while 1 :
4     a = input()
5    if (int)(a) == 42 :
6         break ;
7    print(a) ;
8           
9 

Hero 2009-08-05 11:33 鍙戣〃璇勮
]]>
甯哥敤鐨凱ython搴?/title><link>http://m.shnenglu.com/Hero/archive/2009/07/29/91582.html</link><dc:creator>Hero</dc:creator><author>Hero</author><pubDate>Wed, 29 Jul 2009 06:01:00 GMT</pubDate><guid>http://m.shnenglu.com/Hero/archive/2009/07/29/91582.html</guid><wfw:comment>http://m.shnenglu.com/Hero/comments/91582.html</wfw:comment><comments>http://m.shnenglu.com/Hero/archive/2009/07/29/91582.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/Hero/comments/commentRss/91582.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/Hero/services/trackbacks/91582.html</trackback:ping><description><![CDATA[<fieldset>        Tkinter鈥斺斺斺?Python榛樿鐨勫浘褰㈢晫闈㈡帴鍙c?br>銆銆Tkinter鏄竴涓拰Tk鎺ュ彛鐨凱ython妯″潡錛孴kinter搴撴彁渚涗簡瀵筎k API鐨勬帴鍙o紝瀹冨睘浜嶵cl/Tk鐨凣UI宸ュ叿緇勩俆cl/Tk鏄敱John Ousterhout鍙戝睍鐨勪功鍐欏拰鍥懼艦璁懼銆俆cl(宸ュ叿鍛戒護(hù)璇█)鏄釜瀹忚璦錛岀敤浜庣畝鍖杝hell涓嬪鏉傜▼搴忕殑寮鍙戯紝Tk宸ュ叿鍖呮槸鍜孴cl涓璧峰紑鍙戠殑錛岀洰鐨勬槸涓轟簡綆鍖栫敤鎴鋒帴鍙g殑璁捐榪囩▼銆俆k宸ュ叿鍖呯敱璁稿涓嶅悓鐨勫皬閮ㄤ歡錛屽涓涓寜閽佷竴涓粴鍔ㄦ潯絳夈傞氳繃Tk鎻愪緵鐨勮繖浜涘皬閮ㄤ歡錛屾垜浠氨鍙揩閫熷湴榪涜GUI寮鍙戙侾erl銆丼cheme絳夎璦涔熷埄鐢═k搴撹繘琛孏UI寮鍙戙俆kinter鏄法騫沖彴錛屽湪鍚勭騫沖彴涓嬮兘鑳戒嬌鐢ㄣ?br>銆銆Python Imaging Library(PIL)鈥斺斺斺攑ython鎻愪緵寮哄ぇ鐨勫浘褰㈠鐞嗙殑鑳藉姏錛屽茍鎻愪緵騫挎硾鐨勫浘褰㈡枃浠舵牸寮忔敮鎸侊紝璇ュ簱鑳借繘琛屽浘褰㈡牸寮忕殑杞崲銆佹墦鍗板拰鏄劇ず銆傝繕鑳借繘琛屼竴浜涘浘褰㈡晥鏋滅殑澶勭悊錛屽鍥懼艦鐨勬斁澶с佺緝?yōu)畯鍜屾棆铦{絳夈傛槸Python鐢ㄦ埛榪涜鍥捐薄澶勭悊鐨勫己鏈夊姏宸ュ叿銆?br>銆銆Pmw(Python megawidgets)Python瓚呯駭GUI緇勪歡闆嗏斺斺斺斾竴涓湪python涓埄鐢═kinter妯″潡鏋勫緩鐨勯珮綰UI緇勪歡錛屾瘡涓狿mw閮藉悎騫朵簡涓涓垨澶氫釜Tkinter緇勪歡錛屼互瀹炵幇鏇存湁鐢ㄥ拰鏇村鏉傜殑鍔熻兘銆?br>銆銆PyXML鈥斺斺斺?鐢≒ython瑙f瀽鍜屽鐞哫ML鏂囨。鐨勫伐鍏峰寘錛屽寘涓殑4DOM鏄畬鍏ㄧ浉瀹逛簬W3C DOM瑙勮寖鐨勩傚畠鍖呭惈浠ヤ笅鍐呭錛?br>銆銆xmlproc: 涓涓鍚堣鑼冪殑XML瑙f瀽鍣ㄣ?br>銆銆Expat: 涓涓揩閫熺殑錛岄潪楠岃瘉鐨刋ML瑙f瀽鍣ㄣ?榪樻湁鍏朵粬<br>銆銆鍜屼粬鍚岀駭鍒殑榪樻湁 PyHtml PySGML<br>銆銆PyGame鈥斺斺斺?鐢ㄤ簬澶氬獟浣撳紑鍙戝拰娓告垙杞歡寮鍙戠殑妯″潡銆?br>銆銆PyOpenGL鈥斺斺斺?妯″潡灝佽浜?#8220;OpenGL搴旂敤紼嬪簭緙栫▼鎺ュ彛”錛岄氳繃璇ユā鍧梡ython紼嬪簭鍛樺彲鍦ㄧ▼搴忎腑闆嗘垚2D鍜?D鐨勫浘褰€?br>銆銆NumPy銆丯umArray鍜孲AGE鈥斺斺斺?NumArray鏄疨ython鐨勪竴涓墿灞曞簱錛屼富瑕佺敤浜庡鐞嗕換鎰忕淮鏁扮殑鍥哄畾綾誨瀷鏁扮粍錛岀畝鍗曡灝辨槸涓涓煩闃靛簱銆傚畠鐨勪綆灞備唬鐮佷嬌鐢–鏉ョ紪鍐欙紝鎵浠ラ熷害鐨勪紭鍔垮緢鏄庢樉銆侼umPy鏄疦umarray鐨勫悗緇ц咃紝鐢ㄦ潵浠f浛NumArray銆係AGE鏄熀浜嶯umPy鍜屽叾浠栧嚑涓伐鍏鋒墍鏁村悎鎴愮殑鏁板杞歡鍖咃紝鐩爣鏄彇浠?Magma, Maple, Mathematica鍜孧atlab 榪欑被宸ュ叿銆?br>銆銆MySQLdb妯″潡鈥斺斺斺?鐢ㄤ簬榪炴帴MySQL鏁版嵁搴撱傝繕鏈夌敤浜巣ope鐨刏MySQLDA妯″潡錛岄氳繃瀹冨氨鍙湪zope涓繛鎺ysql鏁版嵁搴撱?br>銆銆PyGTK 鈥斺斺斺?鐢ㄤ簬python GUI紼嬪簭寮鍙戠殑GTK+搴撱侴TK灝辨槸鐢ㄦ潵瀹炵幇GIMP鍜孏nome鐨勯偅涓簱銆傛湁浜嗗畠錛屼綘瀹屽叏鍙互鑷俊鐨勫皾璇曡嚜宸卞埗閫燩hotoshop<br>銆銆PyQt 鈥斺斺斺?鐢ㄤ簬python鐨凲t寮鍙戝簱銆俀T灝辨槸瀹炵幇浜咾DE鐜鐨勯偅涓簱錛岀敱涓緋誨垪鐨勬ā鍧楃粍鎴愶紝鏈塹t, qtcanvas, qtgl, qtnetwork, qtsql, qttable, qtui and qtxml錛屽寘鍚湁300涓被鍜岃秴榪?750涓殑鍑芥暟鍜屾柟娉曘侾yQt榪樻敮鎸佷竴涓彨qtext鐨勬ā鍧楋紝瀹冨寘鍚竴涓猀Scintilla搴撱傝搴撴槸 Scintillar緙栬緫鍣ㄧ被鐨凲t鎺ュ彛銆?br>銆銆PyMedia 鈥斺斺斺?鐢ㄤ簬澶氬獟浣撴搷浣滅殑python妯″潡銆傚畠鎻愪緵浜嗕赴瀵岃岀畝鍗曠殑鎺ュ彛鐢ㄤ簬澶氬獟浣撳鐞?wav, mp3, ogg, avi, divx, dvd, cdda etc)銆傚彲鍦╓indows鍜孡inux騫沖彴涓嬩嬌鐢ㄣ?br>銆銆Psyco 鈥斺斺斺?涓涓狿ython浠g爜鍔犻熷害鍣紝鍙嬌Python浠g爜鐨勬墽琛岄熷害鎻愰珮鍒頒笌緙栬瘧璇█涓鏍風(fēng)殑姘村鉤銆?br>銆銆Python-ldap 鈥斺斺斺?鎻愪緵涓緇勯潰鍚戝璞$殑API錛屽彲鏂逛究鍦板湪python涓闂甽dap鐩綍鏈嶅姟錛屽畠鍩轟簬OpenLDAP2.x銆?br>銆銆smtplib妯″潡 鈥斺斺斺?鍙戦佺數(shù)瀛愰偖浠躲?br>銆銆ftplib妯″潡 鈥斺斺斺?瀹氫箟浜咶TP綾誨拰涓浜涙柟娉曪紝鐢ㄤ互榪涜瀹㈡埛绔殑ftp緙栫▼銆傛垜浠彲鐢╬ython緙栧啓涓涓嚜宸辯殑ftp瀹㈡埛绔▼搴忥紝鐢ㄤ簬涓嬭澆鏂囦歡鎴栭暅鍍忕珯鐐廣傚鏋滄兂浜嗚Вftp鍗忚鐨勮緇嗗唴瀹癸紝璇峰弬鑰僐FC959銆?br>銆銆xmpppy妯″潡 鈥斺斺斺?Jabber鏈嶅姟鍣ㄩ噰鐢ㄥ紑鍙戠殑XMPP鍗忚錛孏oogle Talk涔熸槸閲囩敤XMPP鍗忚鐨処M緋葷粺銆傚湪Python涓湁涓涓獂mpppy妯″潡鏀寔璇ュ崗璁備篃灝辨槸璇達(dá)紝鎴戜滑鍙互閫氳繃璇ユā鍧椾笌Jabber鏈嶅姟鍣ㄩ氫俊錛屾槸涓嶆槸寰圕ool銆?br>銆銆涓嬮潰榪欎簺灝變笉璇︾粏浠嬬粛錛屽彧鍒楀嚭鍚嶅瓧鍜屽姛鑳?br>銆銆adodb 鈥斺斺斺?ADO鏁版嵁搴撹繛鎺ョ粍浠?br>銆銆bsddb3 鈥斺斺斺?BerkeleyDB鐨勮繛鎺ョ粍浠?br>銆銆chardet 鈥斺斺斺?緙栫爜媯(gè)嫻?br>銆銆Cheetah 鈥斺斺斺?鏋勫緩鍜屾墿鍏呬換浣曠綾葷殑鍩轟簬鏂囨湰鐨勫唴瀹?br>銆銆cherrypy 鈥斺斺斺?涓涓猈EB framework<br>銆銆ctypes 鈥斺斺斺?鐢ㄦ潵璋冪敤鍔ㄦ侀摼鎺ュ簱<br>銆銆Cx-oracle 鈥斺斺斺?榪炴帴oracle鐨勫伐鍏?br>銆銆DBUtils 鈥斺斺斺?鏁版嵁搴撹繛鎺ユ睜<br>銆銆django 鈥斺斺斺?涓涓猈EB framework<br>銆銆DPKT 鈥斺斺斺?raw-scoket緗戠粶緙栫▼<br>銆銆docutils 鈥斺斺斺?鐢ㄦ潵鍐欐枃妗g殑<br>銆銆dpkt 鈥斺斺斺?鏁版嵁鍖呯殑瑙e寘鍜岀粍鍖?br>銆銆feedparser 鈥斺斺斺?rss瑙f瀽<br>銆銆Kodos 鈥斺斺斺?姝e垯琛ㄨ揪寮忚皟璇曞伐鍏?br>銆銆Mechanize 鈥斺斺斺?鐖櫕榪炴帴緗戠珯甯哥敤<br>銆銆pefile 鈥斺斺斺?windows pe鏂囦歡瑙f瀽鍣?br>銆銆py2exe 鈥斺斺斺?鐢ㄦ潵鐢熸垚windows鍙墽琛屾枃浠?br>銆銆pycurl 鈥斺斺斺?URL澶勭悊宸ュ叿<br>銆銆pydot 鈥斺斺斺?鐢誨浘鐨勶紝graphiz<br>銆銆pyevent 鈥斺斺斺?Python鐨勪簨浠舵敮鎸?br>銆銆pylint 鈥斺斺斺?鍩瑰吇鑹ソ鐨勭紪鐮佷範(fàn)鎯?br>銆銆Pylons 鈥斺斺斺?鍙堜竴涓獁eb framework<br>銆銆pypcap 鈥斺斺斺?鎶撳寘鐨?br>銆銆pysqlite2 鈥斺斺斺?SQLite鐨勮繛鎺ョ粍浠?br>銆銆python-dnet 鈥斺斺斺?鎺у埗緗戠粶瀹夊叏鐨勫叾浠栬澶?br>銆銆pythonwin 鈥斺斺斺?Python鐨刉indows鎵╁睍<br>銆銆pywmi 鈥斺斺斺?鐪佷簡濂藉鎶樿吘鍔熷か<br>銆銆reportlab 鈥斺斺斺?Python鎿嶄綔PDF鐨凩ibary銆?br>銆銆scapy 鈥斺斺斺?緗戠粶鍖呮瀯寤哄垎鏋愭鏋?鍙紪紼嬬殑wireshark,鏈夊叴瓚g殑google “Silver Needle in the Skype”<br>銆銆scons 鈥斺斺斺?欏圭洰鏋勫緩宸ュ叿錛屽啓濂戒簡妯℃澘鐢ㄨ搗鏉ヨ繕鏄緢鏂逛究鐨?br>銆銆sendpkt 鈥斺斺斺?Python鍙戝寘<br>銆銆setuptools 鈥斺斺斺?涓濂梡ython鍖呯鐞嗘満鍒?br>銆銆simplejson 鈥斺斺斺?JSON鐨勬敮鎸?br>銆銆sqlalchemy 鈥斺斺斺?SQL鏁版嵁搴撹繛鎺ユ睜<br>銆銆SQLObject 鈥斺斺斺?鏁版嵁搴撹繛鎺ユ睜<br>銆銆twisted 鈥斺斺斺?宸ㄦ棤闇哥殑緗戠粶緙栫▼妗嗘灦<br>銆銆winpdb 鈥斺斺斺?鑷繁鐨勭▼搴忔垨鑰呯敤鍒殑搴撲笉澶槑鐧界殑鏃跺欏氨闈犲畠浜?br>銆銆wxPython 鈥斺斺斺?GUI緙栫▼妗嗘灦,鐔熸?zhèn)塎FC鐨勪漢浼?xì)闈炲父鍠湅脾锛尳巰鐩存槸鍚屼竴鏋舵瀯</fieldset> <img src ="http://m.shnenglu.com/Hero/aggbug/91582.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/Hero/" target="_blank">Hero</a> 2009-07-29 14:01 <a href="http://m.shnenglu.com/Hero/archive/2009/07/29/91582.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>os.walk()http://m.shnenglu.com/Hero/archive/2009/07/29/91566.htmlHeroHeroWed, 29 Jul 2009 02:59:00 GMThttp://m.shnenglu.com/Hero/archive/2009/07/29/91566.htmlhttp://m.shnenglu.com/Hero/comments/91566.htmlhttp://m.shnenglu.com/Hero/archive/2009/07/29/91566.html#Feedback0http://m.shnenglu.com/Hero/comments/commentRss/91566.htmlhttp://m.shnenglu.com/Hero/services/trackbacks/91566.html 

Generate the file names in a directory tree by walking the tree either top-down or bottom-up. For each directory in the tree rooted at directory top (including top itself), it yields a 3-tuple (dirpath, dirnames, filenames).

dirpath 
is a string, the path to the directory. dirnames is a list of the names of the subdirectories in dirpath (excluding '.' and '..'). filenames is a list of the names of the non-directory files in dirpath. Note that the names in the lists contain no path components. To get a full path (which begins with top) to a file or directory in dirpath, do os.path.join(dirpath, name).

If optional argument topdown 
is True or not specified, the triple for a directory is generated before the triples for any of its subdirectories (directories are generated top-down). If topdown is False, the triple for a directory is generated after the triples for all of its subdirectories (directories are generated bottom-up).

When topdown 
is True, the caller can modify the dirnames list in-place (perhaps using del or slice assignment), and walk() will only recurse into the subdirectories whose names remain in dirnames; this can be used to prune the search, impose a specific order of visiting, or even to inform walk() about directories the caller creates or renames before it resumes walk() again. Modifying dirnames when topdown is False is ineffective, because in bottom-up mode the directories in dirnames are generated before dirpath itself is generated.

By default errors 
from the listdir() call are ignored. If optional argument onerror is specified, it should be a function; it will be called with one argument, an OSError instance. It can report the error to continue with the walk, or raise the exception to abort the walk. Note that the filename is available as the filename attribute of the exception object.

By default, walk() will 
not walk down into symbolic links that resolve to directories. Set followlinks to True to visit directories pointed to by symlinks, on systems that support them.

New 
in version 2.6: The followlinks parameter.

Note

Be aware that setting followlinks to True can lead to infinite recursion 
if a link points to a parent directory of itself. walk() does not keep track of the directories it visited already.

Note

If you 
pass a relative pathname, don’t change the current working directory between resumptions of walk(). walk() never changes the current directory, and assumes that its caller doesn’t either.

This example displays the number of bytes taken by non
-directory files in each directory under the starting directory, except that it doesn’t look under any CVS subdirectory:

import os
from os.path import join, getsize
for root, dirs, files in os.walk('python/Lib/email'):
    
print root, "consumes",
    
print sum(getsize(join(root, name)) for name in files),
    
print "bytes in", len(files), "non-directory files"
    
if 'CVS' in dirs:
        dirs.remove(
'CVS')  # don't visit CVS directories
In the next example, walking the tree bottom-up is essential: rmdir() doesn’t allow deleting a directory before the directory is empty:

# Delete everything reachable from the directory named in "top",
#
 assuming there are no symbolic links.
#
 CAUTION:  This is dangerous!  For example, if top == '/', it
#
 could delete all your disk files.
import os
for root, dirs, files in os.walk(top, topdown=False):
    
for name in files:
        os.remove(os.path.join(root, name))
    
for name in dirs:
        os.rmdir(os.path.join(root, name))

 



Hero 2009-07-29 10:59 鍙戣〃璇勮
]]>
武侠古典久久婷婷狼人伊人| 中文字幕乱码久久午夜| 亚洲乱亚洲乱淫久久| 国产精品欧美久久久久天天影视| 国产精品免费久久久久电影网| 国产精品亚洲美女久久久| 日本精品久久久久久久久免费| 97视频久久久| 久久r热这里有精品视频| 伊人色综合久久天天人守人婷| 久久一日本道色综合久久| 国内精品久久久久久不卡影院 | 久久综合亚洲欧美成人| 久久精品草草草| 中文字幕乱码人妻无码久久| 久久婷婷久久一区二区三区| 亚洲人成电影网站久久| 少妇久久久久久久久久| 99久久99久久精品国产片| 18禁黄久久久AAA片| 国产激情久久久久影院小草 | 久久精品亚洲日本波多野结衣| 久久精品国产国产精品四凭| 亚洲中文久久精品无码| 久久www免费人成精品香蕉| 无码日韩人妻精品久久蜜桃| 色综合合久久天天给综看| 久久99精品久久久久久| 精品久久久久久成人AV| 无码精品久久久天天影视| 久久久无码精品亚洲日韩蜜臀浪潮| 久久国产免费观看精品| 久久精品国产精品国产精品污| 麻豆成人久久精品二区三区免费| 精品国产日韩久久亚洲| 欧美亚洲另类久久综合婷婷| 精品免费久久久久国产一区| 久久国产热这里只有精品| 久久精品国产WWW456C0M| 亚洲第一永久AV网站久久精品男人的天堂AV| 一本久久久久久久|