2006年12月12日 星期二 16:41
Hello, python-chinese ¿´µ½ÓʼþÁбíÀïÃ漸ºõÈ«ÊÇÔÚÌÖÂÛ×öwebµÄ. ÓÐûÓбðµÄÓÃ;µÄ? Ï£Íû´ó¼Ò°Ñƽʱ¹¤×÷ÖÐÓÃpythonʵÏÖµÄС³ÌÐò¿ÉÒÔÄÃÉÏÀ´, »¥ÏàѧϰһÏÂ,±ÈÈç½Å±¾Ê²Ã´µÄ. Xiaobin Sun, okmmno1在126.com 2006-12-12 -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061212/5a885db0/attachment.htm
2006年12月12日 星期二 16:46
ÓÎÏ··þÎñÆ÷¿ª·¢£¬Python/C++/C ÔÚ06-12-12£¬Xiaobin Sun <okmmno1在126.com> дµÀ£º > > Hello, python-chinese > > ¿´µ½ÓʼþÁбíÀïÃ漸ºõÈ«ÊÇÔÚÌÖÂÛ×öwebµÄ. > ÓÐûÓбðµÄÓÃ;µÄ? > Ï£Íû´ó¼Ò°Ñƽʱ¹¤×÷ÖÐÓÃpythonʵÏÖµÄС³ÌÐò¿ÉÒÔÄÃÉÏÀ´, > »¥ÏàѧϰһÏÂ,±ÈÈç½Å±¾Ê²Ã´µÄ. > > Xiaobin Sun, okmmno1在126.com<%3C%21--AID_FROMADDRESS_BEGIN--%3Eokmmno1在126.com%3C%21--AID_FROMADDRESS_END--%3E> > 2006-12-12 > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -- »¶Ó·ÃÎÊ£º http://blog.csdn.net/ccat ÁõöÎ March.Liu -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061212/c3715860/attachment.html
2006年12月12日 星期二 16:47
On 12/12/06, Xiaobin Sun <okmmno1在126.com> wrote: > > > Hello, python-chinese > > 看到邮件列表里面几乎全是在讨论做web的. > 有没有别的用途的? > 希望大家把平时工作中用python实现的小程序可以拿上来, > 互相学习一下,比如脚本什么的. > 那你可以看一看我写的UliPad了。 -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou
2006年12月13日 星期三 09:05
I use python just as scripting language. The module I used most is os :) Sent from my BlackBerry® wireless handheld -----Original Message----- From: "Xiaobin Sun" <okmmno1在126.com> Date: Tue, 12 Dec 2006 16:41:54 To:"python-chinese" <python-chinese在lists.python.cn> Subject: [python-chinese] 大家用python都是做web么? Hello, python-chinese 看到邮件列表里面几乎全是在讨论做web的. 有没有别的用途的? 希望大家把平时工作中用python实现的小程序可以拿上来, 互相学习一下,比如脚本什么的. Xiaobin Sun, okmmno1在126.com">okmmno1在126.com 2006-12-12 _______________________________________________ python-chinese Post: send python-chinese在lists.python.cn Subscribe: send subscribe to python-chinese-request在lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese
2006年12月13日 星期三 09:59
ÎÒÄ¿Ç°ÓÃwxpython×ö×ÀÃæ³ÌÐò£¬for win32µÄ Ò²×öºǫ́·þÎñ³ÌÐò£¬for LinuxµÄ On 12/13/06, nicran在gmail.com <nicran在gmail.com> wrote: > > I use python just as scripting language. The module I used most is os :) > Sent from my BlackBerry(r) wireless handheld > > -----Original Message----- > From: "Xiaobin Sun" <okmmno1在126.com> > Date: Tue, 12 Dec 2006 16:41:54 > To:"python-chinese" <python-chinese在lists.python.cn> > Subject: [python-chinese] ´ó¼ÒÓÃpython¶¼ÊÇ×öwebô? > > Hello, python-chinese > > ¿´µ½ÓʼþÁбíÀïÃ漸ºõÈ«ÊÇÔÚÌÖÂÛ×öwebµÄ. > ÓÐûÓбðµÄÓÃ;µÄ? > Ï£Íû´ó¼Ò°Ñƽʱ¹¤×÷ÖÐÓÃpythonʵÏÖµÄС³ÌÐò¿ÉÒÔÄÃÉÏÀ´, > »¥ÏàѧϰһÏÂ,±ÈÈç½Å±¾Ê²Ã´µÄ. > > > Xiaobin Sun, okmmno1在126.com">okmmno1在126.com > 2006-12-12 _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061213/ecc165b7/attachment-0001.html
2006年12月13日 星期三 10:28
use python in system administration on **nix, it's great language for that 2006/12/13, nicran在gmail.com <nicran在gmail.com>: > I use python just as scripting language. The module I used most is os :) > Sent from my BlackBerry(r) wireless handheld > > -----Original Message----- > From: "Xiaobin Sun" <okmmno1在126.com> > Date: Tue, 12 Dec 2006 16:41:54 > To:"python-chinese" <python-chinese在lists.python.cn> > Subject: [python-chinese] 大家用python都是做web么? > > Hello, python-chinese > > 看到邮件列表里面几乎全是在讨论做web的. > 有没有别的用途的? > 希望大家把平时工作中用python实现的小程序可以拿上来, > 互相学习一下,比如脚本什么的. > > > Xiaobin Sun, okmmno1在126.com">okmmno1在126.com > 2006-12-12 _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese
2006年12月13日 星期三 11:26
learning and using Python is just for fun. and i do like it. On 12/13/06, OnMyWay <onmyway.q at gmail.com> wrote: > use python in system administration on **nix, it's great language for that > > 2006/12/13, nicran at gmail.com <nicran at gmail.com>: > > I use python just as scripting language. The module I used most is os :) > > Sent from my BlackBerry(r) wireless handheld > > > > -----Original Message----- > > From: "Xiaobin Sun" <okmmno1 at 126.com> > > Date: Tue, 12 Dec 2006 16:41:54 > > To:"python-chinese" <python-chinese at lists.python.cn> > > Subject: [python-chinese] 大家用python都是做web么? > > > > Hello, python-chinese > > > > 看到邮件列表里面几乎全是在讨论做web的. > > 有没有别的用途的? > > 希望大家把平时工作中用python实现的小程序可以拿上来, > > 互相学习一下,比如脚本什么的. > > > > > > Xiaobin Sun, okmmno1 at 126.com">okmmno1 at 126.com > > 2006-12-12 _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -- GoogleTalk: qcxhome at gmail.com MSN: qcxhome at hotmail.com My Space: tkdchen.spaces.live.com BOINC: boinc.berkeley.edu 中国分布式计算总站: www.equn.com
2006年12月13日 星期三 13:23
So do I. On Wed, 2006-12-13 at 11:26 +0800, 麦田守望者 wrote: > learning and using Python is just for fun. and i do like it. > > On 12/13/06, OnMyWay <onmyway.q在gmail.com> wrote: > > use python in system administration on **nix, it's great language for that > > > > 2006/12/13, nicran在gmail.com <nicran在gmail.com>: > > > I use python just as scripting language. The module I used most is os :) > > > Sent from my BlackBerry(r) wireless handheld > > > > > > -----Original Message----- > > > From: "Xiaobin Sun" <okmmno1在126.com> > > > Date: Tue, 12 Dec 2006 16:41:54 > > > To:"python-chinese" <python-chinese在lists.python.cn> > > > Subject: [python-chinese] 大家用python都是做web么? > > > > > > Hello, python-chinese > > > > > > 看到邮件列表里面几乎全是在讨论做web的. > > > 有没有别的用途的? > > > 希望大家把平时工作中用python实现的小程序可以拿上来, > > > 互相学习一下,比如脚本什么的. > > > > > > > > > Xiaobin Sun, okmmno1在126.com">okmmno1在126.com > > > 2006-12-12 _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > -- > GoogleTalk: qcxhome在gmail.com > MSN: qcxhome在hotmail.com > My Space: tkdchen.spaces.live.com > BOINC: boinc.berkeley.edu > 中国分布式计算总站: www.equn.com > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese
2006年12月13日 星期三 15:23
那就小分享一下 不过我水平很菜 #!/usr/bin/python # -*- coding: gbk -*- import _winreg rlist=[_winreg.HKEY_CURRENT_USER, _winreg.HKEY_CLASSES_ROOT, _winreg.HKEY_LOCAL_MACHINE, _winreg.HKEY_USERS, _winreg.HKEY_CURRENT_CONFIG] def checkreg(a,str,rob,rname): if a[2]==1: # 如果类型是字符串 if a[1].find("E:\\Python")>-1: print "%s__%s,%s"%(str,a[0],a[1]) registry = _winreg.ConnectRegistry(None,rname) env_key = _winreg.OpenKey(registry,str,0, _winreg.KEY_SET_VALUE) _winreg.SetValueEx(env_key,a[0], 0, _winreg.REG_SZ, a[1].replace("E:\\","D:\\")) #把E:\替换成D:\ 然后修改 _winreg.CloseKey(env_key) _winreg.CloseKey(registry) def forfor(rob,rname,str): qt=_winreg.QueryInfoKey(rob) if qt[1]>0: for y in xrange(qt[1]): a=_winreg.EnumValue(rob, y) checkreg(a,str,rob,rname) if qt[0]>0: for y in xrange(qt[0]): try: #使用try是因为Enmukey 的那个值如果是中文 就出错... xname=_winreg.EnumKey(rob,y) if str=="": nstr=xname else: nstr=r"%s\%s"%(str,xname) er=_winreg.OpenKey(rname,nstr) forfor(er,rname,nstr) except: pass #_winreg.CloseKey(rob) def query(rname): str=r"" er=_winreg.OpenKey(rname,str) forfor(er,rname,str) def main(): for x in rlist: query(x) main()
Zeuux © 2025
京ICP备05028076号