2004年04月02日 星期五 13:41
Zoom.QuietÐÖ£º ÄãºÃ£¬ÖxÖxÄã½oÎÒÌáß@ЩÎÒ]ÓÐÏëß^µÄ½¨×h£¬ÎÒÊÇÒ»]Óо³Ì½òµÄëÄXÛ ºÃÕߣ¬ÎÒÏëWÁÄ£KÊÇÒòéÓÐr¿´Ò»³ÌÐòr£¬¿´²»¶®ÀïÃæ§ÈëµÄÄ£KºÍº¯µÊÇÔõ ×÷Óã¿ÈçºÎ¬FµÄ£¿ËùÒÔ²ÅÏëµ½ÒªWÁÄ£KµÄ£¬µ«ÎÒÕÒ²»µ½ß@·½ÃæµÄÖÐÎÄÙYÁÏ£¿ ¡°Á¼ºÃµÄ¿ª·¢Ï°¹ß,רҵµÄ Python ËØÑø,¿ÉÒÔʹÄãµÄ¿ª·¢,³ÉΪÄãµÄÄÜÁ¦µÄÒ»²¿·Ö!¡±ÎÒ ºÜÏë³Ééß@ӵķdzÌÐòT£¬²»ß^¬FÔÚßÏà²îºÜßh¡£ÎÒ¬FÔÚÓÐһЩÃÔ㣬Ïë×öÒ»|Î÷µ« ÓÖ²»ÖªÄºÎÏÂÊÖ£¬ÓÖÒÔé×Ô¼ºPYTHONWµÄßÊDz»Í¸Ø£¬¿´Ò»Ð©|Î÷ßÊÇß@Ó£¬ºÜÀ§_¡£ Ò²¿ÉÄÜÊÇÎÒµÄé_°lÖª×RÌ«ÉÙÁË£¬Õ½ÌÔÈçºÎÌá¸ßÄØ! ----- Original Message ----- From: "Zoom.Quiet" <zoomq at infopro.cn> To: <python-chinese at lists.python.cn> Sent: Friday, April 02, 2004 1:10 PM Subject: Re[2]: [python-chinese] Python ѧϰ > Hello ÍôÖ¾¥cn, > > ¹þ¹þ¹þ£¡Ì«Ðļ±ÁË£¡ > Python ºÍÆäËüÁ÷ÐеĿª·¢ÓïÑÔÒ»Ñù£¬ÔÚ¿ìËÙÔö³¤×Å£¬ËýµÄÄ£¿éҲͬÑù¸ßËÙ½ø»¯×Å£¬ Ïë´ÓÄ£¿éµÄÓ¦ÓÃÀ´Ñ§Ï°Python ÊDZ¾Ä©µ¹ÖÃÁËÊÇÒ²ºõ£¿£¡ > > Òª¿ìËÙÕÆÎÕÒ»ÃÅÓïÑԵľ«»ª£¬Ó¦¸Ã > Think into it... > ¾ÍÊÇ˵ҪÁ½âÓïÑԵĹØ×¢ÖÐÐÄ£¬ÓÅÃÀÖ®´¦£¬½«Ë¼Ïëת»»µ½Python µÄƵµÀÀ´£¬ > ¶ø²»ÒªÏëÈ«ÃæÐԵļÇסPython µÄÈ«²¿ÄÚÈÝ... > > àÀàÀàÀ,¿ÖžÍÊÇPython µÄÔʼµÞÔìÕß,ҲûÓа취¼ÇÇå³þ Python ÏÖÔÚËùÓеÄÓ¦Óà ·½Ê½,Ä£¿é.... > > Èç¹ûÄãÓÐ C++ »òÊÇJava µÄ¾Ñé,ÄÇδ,ѧϰPython ÊǸö·Ç³£Óä¿ìµÄ¾Àú, > > Èç¹û,ûÓÐÈκαà³Ì¾Ñé, Python µÄѧϰ,ʹÓÃ,Ò²½«ÊǸöÇáËɵÄÂÃÐÐ!àÀàÀàÀ! > > Python ½ÌѧÎļþ > ÖÜÒëÀÖ µÄ Python 2.0°æ±¾ > http://www.chinesepython.org/pythonfoundry/harrypydoc/html/tut.html > ÊǷdz£easy µÄ¿ªÊ¼; > > Limodou µÄ ÉîÈëPython > http://pyrecord.freezope.org/diveintopython/toc/index.html > ÊÇÉî¶È°®ÉÏPython µÄ¿ªÊ¼! > > òþÉߵı¦¶´ - ChinesePython Wiki > http://www.chinesepython.org/cgi_bin/moingb.cgi/_f2_fe_c9_df_b5_c4_b1_a6_b6_b4 > ÊÇÖÐÎĵÄPython ×ÊÁÏÖÐÐÄ! > > ¿É°®µÄ Python ϵÁÐ > http://www-900.ibm.com/developerWorks/cn/linux/theme/special/index.shtml#python > ÔòÊÇ Python ·á¸»¶à²ÊµÄÊÀ½çµÄË÷Òý! > > > Ö»Òª¿´µÄ¶® Python ½Å±¾,ÄÇδ,ÄãÒѾѧ»áÁËPython! > > Ö®ºó,¾ÍÊÇÔËÓÃËý,½â¾öʵ¼ÊÎÊÌâÁË! > > ¼Çס,ËùÓеÄÎÊÌâ,ÒѾ¿ÉÄÜÓÐÈËÓöµ½¹ý,²¢ÇÒ½â¾öÁË!ÎÒÃÇËùÒª×÷µÄ,½ö½öÊÇÑ¡ÔñÒ»ÖÖ ×îÇáËÉ,Ç¡µ±µÄ·½Ê½À´¸Õ¸ÕºÃ½â¾öÎÒÃǾßÌåµÄÎÊÌâ! > > ¸ßÊÖ,µÍÊÖ,¶ÔÓÚÎÊÌâ´¦ÀíµÄЧ¹û¶¼ÊÇÒ»ÑùµÄ--- ½â¾öÁË! > ²»¹ýÊǽá¹û²»Í¬, > > Á¼ºÃµÄ¿ª·¢Ï°¹ß,רҵµÄ Python ËØÑø,¿ÉÒÔʹÄãµÄ¿ª·¢,³ÉΪÄãµÄÄÜÁ¦µÄÒ»²¿·Ö! > > ÿһ´ÎÎÊÌâµÄ½â¾ö,Òâζ×Å×Ô¸ö¶ùµÄ´úÂë¿âÓÖÎȶ¨µÄÔö³¤ÁËһЩ¿ÉÒԸ߶ȸ´ÓõÄÄ£¿é, Òâζ×Å ½â¾öÎÊÌâµÄ˼·ÓÖ±»ÑéÖ¤ÁËÒ»´Î,»òÊÇ·¢Ã÷ÁËÒ»¸öеÄ;¾¶, > ÓÖ»òÊÇ ·¶Ê½µÄÓ¦ÓÃ,×Ô¸ö¶ùÓÖÊìÁ·ÁËÒ»ÖÖ; ÓÖ·¢ÏÖÁËÒ»¸öеĸ¨Öú¹¤¾ß.... > > ×ÜÖ®,²»»áÊǵ¥µ÷µÄÓÖ½â¾öÁËÒ»¸öÎÊÌâ¶øÒÑ! > > ¶ÔÓÚ Python ѧϰ²»ÊÇÖØÒªµÄ,ÖØÒªµÄÊÇʵսӦÓÃ! > > Python ·¢Ã÷µÄÄ¿µÄ,¾ÍÊÇ¿ìËٵĽâ¾öÎÊÌâ,ʹÓà easy µÄ·½Ê½! > > > "¦SHUTIL²»Á˽â" > > Ò»°ãÀ´½²¶¼ÊÇ ³ÂÒ§½ð Èý°å¸«: > 1: ÏÂÔØ,½¨Á¢»·¾³; > 2: ¿´Îĵµ, Á˽â»ù±¾¹¦ÄÜ; > 3: ¿´Ó¦ÓÃÀý×Ó,´Ó http://aspn.activestate.com/ASPN/Cookbook/ Ö®Àà²éµ½ÀàËÆµÄ ÒѾ½â¾öµÄÀàËÆÎÊÌâµÄ´úÂë,ѧϰ¾ßÌåµÄʹÓà > > ×ã¹» Fixed Ò»ÇÐÒÉÎÊÁËÊÇÒ²ºõÊÇÒ²ºõ!!! > > > === [ 11:58 ; 04-04-02 ] you wrote: > > ? MessageÎÒÊÇÏë¾ÁһϾ³Ì£¬Ïë¬Fß@Ä¿µÄµ«ÓÖ²»ÊǺÜÁ˽⣬²»ÖªÔÔõô½âQ £¿ > ? ÎÒ¦SHUTIL²»Á˽⣬²»ÖªÒªÔõô¬F£¿ > > ? ÓÐÒ»ºÜÖØÒªµÄî}£¬×ÉÔһϴó¼Ò£¬ÎÒ¬FÔÚ¦PYTHONµÄ»ùµAÁ˽âÁË£¬ÒªÈçºÎÌá¸ß ÄØ£¬ÊÇĸ÷Ä£KWÆðÂï!(ÎÒ¦ÄÇЩģK²»Êì)£¬Õß^íÈËÖ¸ücÒ»ÏÂСµÜ! > ? TKS! > ? ----- Original Message ----- > ? From: Jacob Fan > ? To: python-chinese at lists.python.cn > ? Sent: Friday, April 02, 2004 9:56 AM > ? Subject: RE: [python-chinese] DEL FILE > > > ? ÄãÊÇÒªÁ·Ï°±à³Ì£¬»¹ÊÇÑ°ÕÒ½â¾ö·½°¸? > ? Èç¹ûÊǺóÕßÍƼöʹÓÃshutilÖеÄrmtree :) > > > ? ------- > ? Explicit is better than implicit ... > > ? -----Original Message----- > ? From: ÍôÖ¾¥\(cn\) [mailto:paul_wang at lmcn.com] > ? Sent: 2004Äê4ÔÂ2ÈÕ 9:30 > ? To: python-chinese at lists.python.cn > ? Subject: [python-chinese] DEL FILE > > > ? > ? ÎÒÏÂÃæµÄ³ÌÐò£¬²¢]ÓÐß_µ½ÎÒÏëÒªµÄЧ¹û£¬ÎÒÏë°Ñ¡°C:\\del¡±ßBÄ¿äDELÒ»Æðh ³ý£¬°üÀ¨DELÏÂÃæËùÓеÄÄ¿äºÍÎļþ(¸÷·NîÐÍ)£¬Õ½Ì¸÷λ´ó¸çÒªÈçºÎ²ÅÄܬF£¿TKS! > ? # -*- coding: utf-8 -*- > ? # "ÖÆɾ³ýÎļþºÍĿ¼" > > ? import os > ? def rmdir_re(dir): > ? for name in os.listdir(dir): > ? full_name = os.path.join(dir, name) > ? print full_name > ? if not os.access(full_name, os.W_OK): > ? os.chmod(full_name, 0600) > ? if os.path.isdir(full_name): > ? rmdir_re(full_name) > ? else: > ? os.remove(full_name) > ? os.rmdir(dir) > ? if __name__== "__main__" : > ? d="c:\\del" > ? rmdir_re(d) > > > ? -------------------------------------------------------------------------- ---- > > > ? _______________________________________________ > ? python-chinese list > ? python-chinese at lists.python.cn > ? http://python.cn/mailman/listinfo/python-chinese > > === === === === === === === === === === > > -- > Best regards, > Zoom.Quiet > > /=======================================\ > ]Time is unimportant, only life important![ > \=======================================/ > > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese >
2004年04月02日 星期五 16:50
请问如何推订! -------------- next part -------------- A non-text attachment was scrubbed... Name: face-3.gif Type: image/gif Size: 842 bytes Desc: not available Url : http://lists.exoweb.net/pipermail/python-chinese/attachments/20040402/e3660a8d/face-3.gif
2004年04月02日 星期五 17:17
Zoom.QuietÐÖ£º ÄãºÃ£¬¿´ÆðíÏëWºÃ£¬Ö»ÓÐÒ»ücÄǾÍÊÇÈ¥W£¬²»È»Ê²Ã´Ò²¸ã²»ºÃ!ÎÒҲϲgPYTHON µÄ´ú´a¸ñʽ£¬ËùÒÔÎÒßxñÁËËü£¬¿´ÆðíÕæµÄºÜƯÁÁ£¬ºÎÃ÷ÁË! ´ó¼ÒÓÐ]ÓÐêPÄ£K·½ÃæµÄÙYÁÏ£¿ÄãGUI¶¼ÓÐʲô£¬ÓÐ]ÓÐêPÓÚwxpython·½ÃæµÄø¼®»ò ÙYÁÏ£¿ÔÚÄÄÀï¿ÉÒԵõ½£¿TKS!ÎÒÏëÌá¸ßÁË! BEST REGARDS! ----- Original Message ----- From: "Zoom.Quiet" <zoomq at infopro.cn> To: "ÍôÖ¾¥cn" <paul_wang at lmcn.com> Sent: Friday, April 02, 2004 2:05 PM Subject: Re[4]: [python-chinese] Python ѧϰ > Hello ÍôÖ¾¥cn, > > °¥Ñ½Ñ½! > http://www.oreilly.com.cn/book.php?bn=7-5083-0580-9 > PythonÓïÑÔÈëÃÅ > > ÊǸö±ê×¼µÄ¿ªÊ¼, > > È»ºó,´ÓÍøÂçÖÐ,Ö±½Ó´Ó´úÂëÖÐ,Äã¾Í¿ÉÒÔѧµ½Ò»ÇÐÁË! > > Python ×îÖØÒª,Ò²ÊÇÔÚÏÂ×îÍƳçµÄ,¾ÍÊǽ«´úÂëµÄ¸ñʽÓë½á¹¹ºÏ¶øΪһ,ʹËùÓÐPython ´úÂë³ÉΪͨÓõÄÓïÑÔ! > > > === [ 13:41 ; 04-04-02 ] you wrote: > > ? Zoom.QuietÐÖ£º > ? > ? ÄãºÃ£¬ÖxÖxÄã½oÎÒÌáß@ЩÎÒ]ÓÐÏëß^µÄ½¨×h£¬ÎÒÊÇÒ»]Óо³Ì½òµÄëÄXÛ > ? ºÃÕߣ¬ÎÒÏëWÁÄ£KÊÇÒòéÓÐr¿´Ò»³ÌÐòr£¬¿´²»¶®ÀïÃæ§ÈëµÄÄ£KºÍº¯µÊÇÔõ  > ? ×÷Óã¿ÈçºÎ¬FµÄ£¿ËùÒÔ²ÅÏëµ½ÒªWÁÄ£KµÄ£¬µ«ÎÒÕÒ²»µ½ß@·½ÃæµÄÖÐÎÄÙYÁÏ£¿ > ? ¡°Á¼ºÃµÄ¿ª·¢Ï°¹ß,רҵµÄ Python > ? ËØÑø,¿ÉÒÔʹÄãµÄ¿ª·¢,³ÉΪÄãµÄÄÜÁ¦µÄÒ»²¿·Ö!¡±ÎÒ > ? ºÜÏë³Ééß@ӵķdzÌÐòT£¬²»ß^¬FÔÚßÏà²îºÜßh¡£ÎÒ¬FÔÚÓÐһЩÃÔ㣬Ïë×öÒ»| Î÷µ« > ? ÓÖ²»ÖªÄºÎÏÂÊÖ£¬ÓÖÒÔé×Ô¼ºPYTHONWµÄßÊDz»Í¸Ø£¬¿´Ò»Ð©|Î÷ßÊÇß@Ó£¬ºÜÀ§ _¡£ > ? Ò²¿ÉÄÜÊÇÎÒµÄé_°lÖª×RÌ«ÉÙÁË£¬Õ½ÌÔÈçºÎÌá¸ßÄØ! > ? ----- Original Message ----- > ? From: "Zoom.Quiet" <zoomq at infopro.cn> > ? To: <python-chinese at lists.python.cn> > ? Sent: Friday, April 02, 2004 1:10 PM > ? Subject: Re[2]: [python-chinese] Python ѧϰ > > > >> Hello ÍôÖ¾¥cn, > >> > >> ¹þ¹þ¹þ£¡Ì«Ðļ±ÁË£¡ > >> Python > >> ºÍÆäËüÁ÷ÐеĿª·¢ÓïÑÔÒ»Ñù£¬ÔÚ¿ìËÙÔö³¤×Å£¬ËýµÄÄ£¿éҲͬÑù¸ßËÙ½ø»¯×Å£¬ > ? Ïë´ÓÄ£¿éµÄÓ¦ÓÃÀ´Ñ§Ï°Python ÊDZ¾Ä©µ¹ÖÃÁËÊÇÒ²ºõ£¿£¡ > >> > >> Òª¿ìËÙÕÆÎÕÒ»ÃÅÓïÑԵľ«»ª£¬Ó¦¸Ã > >> Think into it... > >> ¾ÍÊÇ˵ҪÁ½âÓïÑԵĹØ×¢ÖÐÐÄ£¬ÓÅÃÀÖ®´¦£¬½«Ë¼Ïëת»»µ½Python µÄƵµÀÀ´£¬ > >> ¶ø²»ÒªÏëÈ«ÃæÐԵļÇסPython µÄÈ«²¿ÄÚÈÝ... > >> > >> àÀàÀàÀ,¿ÖžÍÊÇPython µÄÔʼµÞÔìÕß,ҲûÓа취¼ÇÇå³þ Python ÏÖÔÚËùÓеÄÓ¦ Óà > ? ·½Ê½,Ä£¿é.... > >> > >> Èç¹ûÄãÓÐ C++ »òÊÇJava µÄ¾Ñé,ÄÇδ,ѧϰPython ÊǸö·Ç³£Óä¿ìµÄ¾Àú, > >> > >> Èç¹û,ûÓÐÈκαà³Ì¾Ñé, Python > >> µÄѧϰ,ʹÓÃ,Ò²½«ÊǸöÇáËɵÄÂÃÐÐ!àÀàÀàÀ! > >> > >> Python ½ÌѧÎļþ > >> ÖÜÒëÀÖ µÄ Python 2.0°æ±¾ > >> http://www.chinesepython.org/pythonfoundry/harrypydoc/html/tut.html > >> ÊǷdz£easy µÄ¿ªÊ¼; > >> > >> Limodou µÄ ÉîÈëPython > >> http://pyrecord.freezope.org/diveintopython/toc/index.html > >> ÊÇÉî¶È°®ÉÏPython µÄ¿ªÊ¼! > >> > >> òþÉߵı¦¶´ - ChinesePython Wiki > >> > ? http://www.chinesepython.org/cgi_bin/moingb.cgi/_f2_fe_c9_df_b5_c4_b1_a6_b6_b4 > >> ÊÇÖÐÎĵÄPython ×ÊÁÏÖÐÐÄ! > >> > >> ¿É°®µÄ Python ϵÁÐ > >> > ? http://www-900.ibm.com/developerWorks/cn/linux/theme/special/index.shtml#python > >> ÔòÊÇ Python ·á¸»¶à²ÊµÄÊÀ½çµÄË÷Òý! > >> > >> > >> Ö»Òª¿´µÄ¶® Python ½Å±¾,ÄÇδ,ÄãÒѾѧ»áÁËPython! > >> > >> Ö®ºó,¾ÍÊÇÔËÓÃËý,½â¾öʵ¼ÊÎÊÌâÁË! > >> > >> ¼Çס,ËùÓеÄÎÊÌâ,ÒѾ¿ÉÄÜÓÐÈËÓöµ½¹ý,²¢ÇÒ½â¾öÁË!ÎÒÃÇËùÒª×÷µÄ,½ö½öÊÇÑ¡ÔñÒ» ÖÖ > ? ×îÇáËÉ,Ç¡µ±µÄ·½Ê½À´¸Õ¸ÕºÃ½â¾öÎÒÃǾßÌåµÄÎÊÌâ! > >> > >> ¸ßÊÖ,µÍÊÖ,¶ÔÓÚÎÊÌâ´¦ÀíµÄЧ¹û¶¼ÊÇÒ»ÑùµÄ--- ½â¾öÁË! > >> ²»¹ýÊǽá¹û²»Í¬, > >> > >> Á¼ºÃµÄ¿ª·¢Ï°¹ß,רҵµÄ Python > >> ËØÑø,¿ÉÒÔʹÄãµÄ¿ª·¢,³ÉΪÄãµÄÄÜÁ¦µÄÒ»²¿·Ö! > >> > >> ÿһ´ÎÎÊÌâµÄ½â¾ö,Òâζ×Å×Ô¸ö¶ùµÄ´úÂë¿âÓÖÎȶ¨µÄÔö³¤ÁËһЩ¿ÉÒԸ߶ȸ´ÓõÄÄ£ ¿é, > ? Òâζ×Å ½â¾öÎÊÌâµÄ˼·ÓÖ±»ÑéÖ¤ÁËÒ»´Î,»òÊÇ·¢Ã÷ÁËÒ»¸öеÄ;¾¶, > >> ÓÖ»òÊÇ ·¶Ê½µÄÓ¦ÓÃ,×Ô¸ö¶ùÓÖÊìÁ·ÁËÒ»ÖÖ; ÓÖ·¢ÏÖÁËÒ»¸öеĸ¨Öú¹¤¾ß.... > >> > >> ×ÜÖ®,²»»áÊǵ¥µ÷µÄÓÖ½â¾öÁËÒ»¸öÎÊÌâ¶øÒÑ! > >> > >> ¶ÔÓÚ Python ѧϰ²»ÊÇÖØÒªµÄ,ÖØÒªµÄÊÇʵսӦÓÃ! > >> > >> Python ·¢Ã÷µÄÄ¿µÄ,¾ÍÊÇ¿ìËٵĽâ¾öÎÊÌâ,ʹÓà easy µÄ·½Ê½! > >> > >> > >> "¦SHUTIL²»Á˽â" > >> > >> Ò»°ãÀ´½²¶¼ÊÇ ³ÂÒ§½ð Èý°å¸«: > >> 1: ÏÂÔØ,½¨Á¢»·¾³; > >> 2: ¿´Îĵµ, Á˽â»ù±¾¹¦ÄÜ; > >> 3: ¿´Ó¦ÓÃÀý×Ó,´Ó http://aspn.activestate.com/ASPN/Cookbook/ Ö®Àà²éµ½Àà ËÆµÄ > ? ÒѾ½â¾öµÄÀàËÆÎÊÌâµÄ´úÂë,ѧϰ¾ßÌåµÄʹÓà > >> > >> ×ã¹» Fixed Ò»ÇÐÒÉÎÊÁËÊÇÒ²ºõÊÇÒ²ºõ!!! > >> > >> > >> === [ 11:58 ; 04-04-02 ] you wrote: > >> > >> ? > >> MessageÎÒÊÇÏë¾ÁһϾ³Ì£¬Ïë¬Fß@Ä¿µÄµ«ÓÖ²»ÊǺÜÁ˽⣬²»ÖªÔÔõô½âQ > ? £¿ > >> ? ÎÒ¦SHUTIL²»Á˽⣬²»ÖªÒªÔõô¬F£¿ > >> > >> ? > >> ÓÐÒ»ºÜÖØÒªµÄî}£¬×ÉÔһϴó¼Ò£¬ÎÒ¬FÔÚ¦PYTHONµÄ»ùµAÁ˽âÁË£¬ÒªÈçºÎÌá ¸ß > ? ÄØ£¬ÊÇĸ÷Ä£KWÆðÂï!(ÎÒ¦ÄÇЩģK²»Êì)£¬Õß^íÈËÖ¸ücÒ»ÏÂСµÜ! > >> ? TKS! > >> ? ----- Original Message ----- > >> ? From: Jacob Fan > >> ? To: python-chinese at lists.python.cn > >> ? Sent: Friday, April 02, 2004 9:56 AM > >> ? Subject: RE: [python-chinese] DEL FILE > >> > >> > >> ? ÄãÊÇÒªÁ·Ï°±à³Ì£¬»¹ÊÇÑ°ÕÒ½â¾ö·½°¸? > >> ? Èç¹ûÊǺóÕßÍƼöʹÓÃshutilÖеÄrmtree :) > >> > >> > >> ? ------- > >> ? Explicit is better than implicit ... > >> > >> ? -----Original Message----- > >> ? From: ÍôÖ¾¥\(cn\) [mailto:paul_wang at lmcn.com] > >> ? Sent: 2004Äê4ÔÂ2ÈÕ 9:30 > >> ? To: python-chinese at lists.python.cn > >> ? Subject: [python-chinese] DEL FILE > >> > >> > >> ? > >> ? > >> ÎÒÏÂÃæµÄ³ÌÐò£¬²¢]ÓÐß_µ½ÎÒÏëÒªµÄЧ¹û£¬ÎÒÏë°Ñ¡°C:\\del¡±ßBÄ¿äDELÒ»Æðh > ? ³ý£¬°üÀ¨DELÏÂÃæËùÓеÄÄ¿äºÍÎļþ(¸÷·NîÐÍ)£¬Õ½Ì¸÷λ´ó¸çÒªÈçºÎ²ÅÄܬF£¿ TKS! > >> ? # -*- coding: utf-8 -*- > >> ? # "ÖÆɾ³ýÎļþºÍĿ¼" > >> > >> ? import os > >> ? def rmdir_re(dir): > >> ? for name in os.listdir(dir): > >> ? full_name = os.path.join(dir, name) > >> ? print full_name > >> ? if not os.access(full_name, os.W_OK): > >> ? os.chmod(full_name, 0600) > >> ? if os.path.isdir(full_name): > >> ? rmdir_re(full_name) > >> ? else: > >> ? os.remove(full_name) > >> ? os.rmdir(dir) > >> ? if __name__== "__main__" : > >> ? d="c:\\del" > >> ? rmdir_re(d) > >> > >> > >> > ? ? > ? -------------------------------------------------------------------------- > ? ---- > >> > >> > >> ? _______________________________________________ > >> ? python-chinese list > >> ? python-chinese at lists.python.cn > >> ? http://python.cn/mailman/listinfo/python-chinese > >> > >> === === === === === === === === === === > >> > >> -- > >> Best regards, > >> Zoom.Quiet > >> > >> /=======================================\ > >> ]Time is unimportant, only life important![ > >> \=======================================/ > >> > >> _______________________________________________ > >> python-chinese list > >> python-chinese at lists.python.cn > >> http://python.cn/mailman/listinfo/python-chinese > >> > > > > > === === === === === === === === === === > > -- > Best regards, > Zoom.Quiet > > /=======================================\ > ]Time is unimportant, only life important![ > \=======================================/ > >
2004年04月02日 星期五 17:23
leaofÐÖ£º ÄãºÃ£¬éʲôҪÍËÓÄØ!ß@ÀïÎÒ¸ÐÓXͦºÃ£¬´ó¼Ò¶¼ºÜáÐÄ£¬ÄãµÄ½òºÍ¼¼XÒ²¿ÉÒÔ ºÍ´ó¼Ò½»Á÷Ò»ÏÂ! ----- Original Message ----- From: "leaof" <leaof at 21cn.com> To: <python-chinese at lists.python.cn> Sent: Friday, April 02, 2004 4:50 PM Subject: [python-chinese] ÇëÎÊÈçºÎÍƶ©£¡ ÇëÎÊÈçºÎÍƶ©£¡ ---------------------------------------------------------------------------- ---- > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese >
2004年04月03日 星期六 17:12
Zoom.Quiet£º ÄãºÃ£¬ÕfÔÎÒÔç¾ÍÕÒß^ÁË£¬ß@·½ÃæµÄÖÐÎÄÕæÊÇÌ«ÉÙÁË£¬ÎÒÓXµÃÒªÏëÍÆVPYTHON·½ ÃæµÄªÓã¬ÖÐÎÄÙYÁÏß@ôÉÙÊDz»Ðеģ¬® ¾¹Ó¢ÕZˮƽºÃµÄÈËßÊǺÜÉٵģ¬ÏóÎÒß@Ó¿´Ó¢ ÎÄÙYÁÏ£¬¿´µÄî^ÄXÃß²»ÊǺÜÃ÷°×ʲôÒâ˼£¬ÕæÏ£ÍûÓÐÅóÓÑ¿ÉÒÔÔÚß@·½Ãæ×öһЩ|| ³öí¡£ PYTHONß@ôºÃµÄÈëéTÕZÑÔ£¬ÓÖÊÇÃæÏò¦ÏóºÍé_Դܼþ£¬ÕæªÔÔÚÎÒøµÃµ½°lÕ¹! ----- Original Message ----- From: "Zoom.Quiet" <zoomq at infopro.cn> To: "ÍôÖ¾¥cn" <paul_wang at lmcn.com> Sent: Friday, April 02, 2004 5:36 PM Subject: Re: > Hello ÍôÖ¾¥cn, > > > àÅàÅ!ÖÐÎĵĿÖŲ»¶à! > > ²»¹ý.... > > »ùÓÚGoogleµÄѧϰ¹ý³Ì > http://www.chedong.com/tech/study.html > > ËäÈ»: > GoogleËѵ½Í·ÁËÂ𣿠- Ô](Îá)[¾³ > http://www.zqstudio.org:9085/Zoom_Quiet/Nucleus/index.php?itemid=80 > > ÊÇÒ²ºõÊÇÒ²ºõ.... > > === [ 17:35 ; 04-04-02 ] you wrote: > > ? Subject: > ? =?gb2312?B?UmU6IFJlWzRdOiBbcHl0aG9uLWNoaW5lc2VdIFB5dGhvbiDRp8+w?= > ? Date: Fri, 2 Apr 2004 17:17:45 +0800 > ? MIME-Version: 1.0 > ? Content-Type: text/plain; > ? charset="gb2312" > ? Content-Transfer-Encoding: 8bit > ? X-Priority: 3 > ? X-MSMail-Priority: Normal > ? X-Mailer: Microsoft Outlook Express 6.00.2800.1158 > ? Disposition-Notification-To: =?gb2312?B?qEyn07C2XChjblwp?= <paul_wang at lmcn.com> > ? X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > ? X-Authenticated-Sender: paul_wang at lmcn.com > ? X-MDRemoteIP: 219.130.20.236 > ? X-Return-Path: paul_wang at lmcn.com > ? X-MDaemon-Deliver-To: zoomq at infopro.cn > ? X-RCPT-TO: <zoomq at infopro.cn> > ? X-UIDL: 377756191 > ? Status: U > > ? Zoom.QuietÐÖ£º > ? > ? ÄãºÃ£¬¿´ÆðíÏëWºÃ£¬Ö»ÓÐÒ»ücÄǾÍÊÇÈ¥W£¬²»È»Ê²Ã´Ò²¸ã²»ºÃ!ÎÒҲϲgPYTHON > ? µÄ´ú´a¸ñʽ£¬ËùÒÔÎÒßxñÁËËü£¬¿´ÆðíÕæµÄºÜƯÁÁ£¬ºÎÃ÷ÁË! > ? ´ó¼ÒÓÐ]ÓÐêPÄ£K·½ÃæµÄÙYÁÏ£¿ÄãGUI¶¼ÓÐʲô£¬ÓÐ]ÓÐêPÓÚwxpython·½ÃæµÄø ¼®»ò > ? ÙYÁÏ£¿ÔÚÄÄÀï¿ÉÒԵõ½£¿TKS!ÎÒÏëÌá¸ßÁË! > ? BEST REGARDS! > ? ----- Original Message ----- > ? From: "Zoom.Quiet" <zoomq at infopro.cn> > ? To: "ÍôÖ¾¥cn" <paul_wang at lmcn.com> > ? Sent: Friday, April 02, 2004 2:05 PM > ? Subject: Re[4]: [python-chinese] Python ѧϰ > > > >> Hello ÍôÖ¾¥cn, > >> > >> °¥Ñ½Ñ½! > >> http://www.oreilly.com.cn/book.php?bn=7-5083-0580-9 > >> PythonÓïÑÔÈëÃÅ > >> > >> ÊǸö±ê×¼µÄ¿ªÊ¼, > >> > >> È»ºó,´ÓÍøÂçÖÐ,Ö±½Ó´Ó´úÂëÖÐ,Äã¾Í¿ÉÒÔѧµ½Ò»ÇÐÁË! > >> > >> Python > >> ×îÖØÒª,Ò²ÊÇÔÚÏÂ×îÍƳçµÄ,¾ÍÊǽ«´úÂëµÄ¸ñʽÓë½á¹¹ºÏ¶øΪһ,ʹËùÓÐPython > ? ´úÂë³ÉΪͨÓõÄÓïÑÔ! > >> > >> > >> === [ 13:41 ; 04-04-02 ] you wrote: > >> > >> ? Zoom.QuietÐÖ£º > >> ? > >> ? > >> ÄãºÃ£¬ÖxÖxÄã½oÎÒÌáß@ЩÎÒ]ÓÐÏëß^µÄ½¨×h£¬ÎÒÊÇÒ»]Óо³Ì½òµÄëÄXÛ > >> ? > >> ºÃÕߣ¬ÎÒÏëWÁÄ£KÊÇÒòéÓÐr¿´Ò»³ÌÐòr£¬¿´²»¶®ÀïÃæ§ÈëµÄÄ£KºÍº¯µÊÇ Ôõ > ?  > >> ? > >> ×÷Óã¿ÈçºÎ¬FµÄ£¿ËùÒÔ²ÅÏëµ½ÒªWÁÄ£KµÄ£¬µ«ÎÒÕÒ²»µ½ß@·½ÃæµÄÖÐÎÄÙYÁÏ£¿ > >> ? ¡°Á¼ºÃµÄ¿ª·¢Ï°¹ß,רҵµÄ Python > >> ? ËØÑø,¿ÉÒÔʹÄãµÄ¿ª·¢,³ÉΪÄãµÄÄÜÁ¦µÄÒ»²¿·Ö!¡±ÎÒ > >> ? > >> ºÜÏë³Ééß@ӵķdzÌÐòT£¬²»ß^¬FÔÚßÏà²îºÜßh¡£ÎÒ¬FÔÚÓÐһЩÃÔ㣬Ïë×öÒ» | > ? Î÷µ« > >> ? > >> ÓÖ²»ÖªÄºÎÏÂÊÖ£¬ÓÖÒÔé×Ô¼ºPYTHONWµÄßÊDz»Í¸Ø£¬¿´Ò»Ð©|Î÷ßÊÇß@Ó£¬ºÜ À§ > ? _¡£ > >> ? Ò²¿ÉÄÜÊÇÎÒµÄé_°lÖª×RÌ«ÉÙÁË£¬Õ½ÌÔÈçºÎÌá¸ßÄØ! > >> ? ----- Original Message ----- > >> ? From: "Zoom.Quiet" <zoomq at infopro.cn> > >> ? To: <python-chinese at lists.python.cn> > >> ? Sent: Friday, April 02, 2004 1:10 PM > >> ? Subject: Re[2]: [python-chinese] Python ѧϰ > >> > >> > >> >> Hello ÍôÖ¾¥cn, > >> >> > >> >> ¹þ¹þ¹þ£¡Ì«Ðļ±ÁË£¡ > >> >> Python > >> >> > >> ºÍÆäËüÁ÷ÐеĿª·¢ÓïÑÔÒ»Ñù£¬ÔÚ¿ìËÙÔö³¤×Å£¬ËýµÄÄ£¿éҲͬÑù¸ßËÙ½ø»¯×Å£¬ > >> ? Ïë´ÓÄ£¿éµÄÓ¦ÓÃÀ´Ñ§Ï°Python ÊDZ¾Ä©µ¹ÖÃÁËÊÇÒ²ºõ£¿£¡ > >> >> > >> >> Òª¿ìËÙÕÆÎÕÒ»ÃÅÓïÑԵľ«»ª£¬Ó¦¸Ã > >> >> Think into it... > >> >> ¾ÍÊÇ˵ҪÁ½âÓïÑԵĹØ×¢ÖÐÐÄ£¬ÓÅÃÀÖ®´¦£¬½«Ë¼Ïëת»»µ½Python µÄƵµÀÀ´£¬ > >> >> ¶ø²»ÒªÏëÈ«ÃæÐԵļÇסPython µÄÈ«²¿ÄÚÈÝ... > >> >> > >> >> àÀàÀàÀ,¿ÖžÍÊÇPython µÄÔʼµÞÔìÕß,ҲûÓа취¼ÇÇå³þ Python ÏÖÔÚËùÓÐ µÄÓ¦ > ? Óà > >> ? ·½Ê½,Ä£¿é.... > >> >> > >> >> Èç¹ûÄãÓÐ C++ »òÊÇJava µÄ¾Ñé,ÄÇδ,ѧϰPython ÊǸö·Ç³£Óä¿ìµÄ¾Àú, > >> >> > >> >> Èç¹û,ûÓÐÈκαà³Ì¾Ñé, Python > >> >> µÄѧϰ,ʹÓÃ,Ò²½«ÊǸöÇáËɵÄÂÃÐÐ!àÀàÀàÀ! > >> >> > >> >> Python ½ÌѧÎļþ > >> >> ÖÜÒëÀÖ µÄ Python 2.0°æ±¾ > >> >> > >> http://www.chinesepython.org/pythonfoundry/harrypydoc/html/tut.html > >> >> ÊǷdz£easy µÄ¿ªÊ¼; > >> >> > >> >> Limodou µÄ ÉîÈëPython > >> >> http://pyrecord.freezope.org/diveintopython/toc/index.html > >> >> ÊÇÉî¶È°®ÉÏPython µÄ¿ªÊ¼! > >> >> > >> >> òþÉߵı¦¶´ - ChinesePython Wiki > >> >> > >> ? > ? http://www.chinesepython.org/cgi_bin/moingb.cgi/_f2_fe_c9_df_b5_c4_b1_a6_b6_b4 > >> >> ÊÇÖÐÎĵÄPython ×ÊÁÏÖÐÐÄ! > >> >> > >> >> ¿É°®µÄ Python ϵÁÐ > >> >> > >> ? > ? http://www-900.ibm.com/developerWorks/cn/linux/theme/special/index.shtml#python > >> >> ÔòÊÇ Python ·á¸»¶à²ÊµÄÊÀ½çµÄË÷Òý! > >> >> > >> >> > >> >> Ö»Òª¿´µÄ¶® Python ½Å±¾,ÄÇδ,ÄãÒѾѧ»áÁËPython! > >> >> > >> >> Ö®ºó,¾ÍÊÇÔËÓÃËý,½â¾öʵ¼ÊÎÊÌâÁË! > >> >> > >> >> > >> ¼Çס,ËùÓеÄÎÊÌâ,ÒѾ¿ÉÄÜÓÐÈËÓöµ½¹ý,²¢ÇÒ½â¾öÁË!ÎÒÃÇËùÒª×÷µÄ,½ö½öÊÇÑ¡ÔñÒ» > ? ÖÖ > >> ? ×îÇáËÉ,Ç¡µ±µÄ·½Ê½À´¸Õ¸ÕºÃ½â¾öÎÒÃǾßÌåµÄÎÊÌâ! > >> >> > >> >> ¸ßÊÖ,µÍÊÖ,¶ÔÓÚÎÊÌâ´¦ÀíµÄЧ¹û¶¼ÊÇÒ»ÑùµÄ--- ½â¾öÁË! > >> >> ²»¹ýÊǽá¹û²»Í¬, > >> >> > >> >> Á¼ºÃµÄ¿ª·¢Ï°¹ß,רҵµÄ Python > >> >> ËØÑø,¿ÉÒÔʹÄãµÄ¿ª·¢,³ÉΪÄãµÄÄÜÁ¦µÄÒ»²¿·Ö! > >> >> > >> >> > >> ÿһ´ÎÎÊÌâµÄ½â¾ö,Òâζ×Å×Ô¸ö¶ùµÄ´úÂë¿âÓÖÎȶ¨µÄÔö³¤ÁËһЩ¿ÉÒԸ߶ȸ´ÓõÄÄ£ > ? ¿é, > >> ? Òâζ×Å ½â¾öÎÊÌâµÄ˼·ÓÖ±»ÑéÖ¤ÁËÒ»´Î,»òÊÇ·¢Ã÷ÁËÒ»¸öеÄ;¾¶, > >> >> ÓÖ»òÊÇ ·¶Ê½µÄÓ¦ÓÃ,×Ô¸ö¶ùÓÖÊìÁ·ÁËÒ»ÖÖ; ÓÖ·¢ÏÖÁËÒ»¸öеĸ¨Öú¹¤¾ß.... > >> >> > >> >> ×ÜÖ®,²»»áÊǵ¥µ÷µÄÓÖ½â¾öÁËÒ»¸öÎÊÌâ¶øÒÑ! > >> >> > >> >> ¶ÔÓÚ Python ѧϰ²»ÊÇÖØÒªµÄ,ÖØÒªµÄÊÇʵսӦÓÃ! > >> >> > >> >> Python ·¢Ã÷µÄÄ¿µÄ,¾ÍÊÇ¿ìËٵĽâ¾öÎÊÌâ,ʹÓà easy µÄ·½Ê½! > >> >> > >> >> > >> >> "¦SHUTIL²»Á˽â" > >> >> > >> >> Ò»°ãÀ´½²¶¼ÊÇ ³ÂÒ§½ð Èý°å¸«: > >> >> 1: ÏÂÔØ,½¨Á¢»·¾³; > >> >> 2: ¿´Îĵµ, Á˽â»ù±¾¹¦ÄÜ; > >> >> 3: ¿´Ó¦ÓÃÀý×Ó,´Ó http://aspn.activestate.com/ASPN/Cookbook/ Ö®Àà²éµ½ Àà > ? ËÆµÄ > >> ? ÒѾ½â¾öµÄÀàËÆÎÊÌâµÄ´úÂë,ѧϰ¾ßÌåµÄʹÓà > >> >> > >> >> ×ã¹» Fixed Ò»ÇÐÒÉÎÊÁËÊÇÒ²ºõÊÇÒ²ºõ!!! > >> >> > >> >> > >> >> === [ 11:58 ; 04-04-02 ] you wrote: > >> >> > >> >> ? > >> >> > >> MessageÎÒÊÇÏë¾ÁһϾ³Ì£¬Ïë¬Fß@Ä¿µÄµ«ÓÖ²»ÊǺÜÁ˽⣬²»ÖªÔÔõô½âQ > >> ? £¿ > >> >> ? ÎÒ¦SHUTIL²»Á˽⣬²»ÖªÒªÔõô¬F£¿ > >> >> > >> >> ? > >> >> > >> ÓÐÒ»ºÜÖØÒªµÄî}£¬×ÉÔһϴó¼Ò£¬ÎÒ¬FÔÚ¦PYTHONµÄ»ùµAÁ˽âÁË£¬ÒªÈçºÎÌá > ? ¸ß > >> ? ÄØ£¬ÊÇĸ÷Ä£KWÆðÂï!(ÎÒ¦ÄÇЩģK²»Êì)£¬Õß^íÈËÖ¸ücÒ»ÏÂСµÜ! > >> >> ? TKS! > >> >> ? ----- Original Message ----- > >> >> ? From: Jacob Fan > >> >> ? To: python-chinese at lists.python.cn > >> >> ? Sent: Friday, April 02, 2004 9:56 AM > >> >> ? Subject: RE: [python-chinese] DEL FILE > >> >> > >> >> > >> >> ? ÄãÊÇÒªÁ·Ï°±à³Ì£¬»¹ÊÇÑ°ÕÒ½â¾ö·½°¸? > >> >> ? Èç¹ûÊǺóÕßÍƼöʹÓÃshutilÖеÄrmtree :) > >> >> > >> >> > >> >> ? ------- > >> >> ? Explicit is better than implicit ... > >> >> > >> >> ? -----Original Message----- > >> >> ? From: ÍôÖ¾¥\(cn\) [mailto:paul_wang at lmcn.com] > >> >> ? Sent: 2004Äê4ÔÂ2ÈÕ 9:30 > >> >> ? To: python-chinese at lists.python.cn > >> >> ? Subject: [python-chinese] DEL FILE > >> >> > >> >> > >> >> ? > >> >> ? > >> >> > >> ÎÒÏÂÃæµÄ³ÌÐò£¬²¢]ÓÐß_µ½ÎÒÏëÒªµÄЧ¹û£¬ÎÒÏë°Ñ¡°C:\\del¡±ßBÄ¿äDELÒ»Æðh > >> ? > >> ³ý£¬°üÀ¨DELÏÂÃæËùÓеÄÄ¿äºÍÎļþ(¸÷·NîÐÍ)£¬Õ½Ì¸÷λ´ó¸çÒªÈçºÎ²ÅÄܬF£¿ > ? TKS! > >> >> ? # -*- coding: utf-8 -*- > >> >> ? # "ÖÆɾ³ýÎļþºÍĿ¼" > >> >> > >> >> ? import os > >> >> ? def rmdir_re(dir): > >> >> ? for name in os.listdir(dir): > >> >> ? full_name = os.path.join(dir, name) > >> >> ? print full_name > >> >> ? if not os.access(full_name, os.W_OK): > >> >> ? os.chmod(full_name, 0600) > >> >> ? if os.path.isdir(full_name): > >> >> ? rmdir_re(full_name) > >> >> ? else: > >> >> ? os.remove(full_name) > >> >> ? os.rmdir(dir) > >> >> ? if __name__== "__main__" : > >> >> ? d="c:\\del" > >> >> ? rmdir_re(d) > >> >> > >> >> > >> >> > >> ? ? > >> > ? ? > ? -------------------------------------------------------------------------- > >> ? ---- > >> >> > >> >> > >> >> ? _______________________________________________ > >> >> ? python-chinese list > >> >> ? python-chinese at lists.python.cn > >> >> ? http://python.cn/mailman/listinfo/python-chinese > >> >> > >> >> === === === === === === === === === === > >> >> > >> >> -- > >> >> Best regards, > >> >> Zoom.Quiet > >> >> > >> >> /=======================================\ > >> >> ]Time is unimportant, only life important![ > >> >> \=======================================/ > >> >> > >> >> _______________________________________________ > >> >> python-chinese list > >> >> python-chinese at lists.python.cn > >> >> http://python.cn/mailman/listinfo/python-chinese > >> >> > >> > >> > >> > >> > >> === === === === === === === === === === > >> > >> -- > >> Best regards, > >> Zoom.Quiet > >> > >> /=======================================\ > >> ]Time is unimportant, only life important![ > >> \=======================================/ > >> > >> > > > > === === === === === === === === === === > > -- > Best regards, > Zoom.Quiet > > /=======================================\ > ]Time is unimportant, only life important![ > \=======================================/ > >
Zeuux © 2024
京ICP备05028076号