2007年03月21日 星期三 13:02
发现"备份"之后,必须手动"导出一次"。 我前面看到还有乱码是因为没有重新导出。 建议备份之后,自动执行导出。
2007年03月21日 星期三 13:41
°æ±¾ÊÇ0.3.1Â𣿠±¸·ÝÖ®ºó£¬ÇëÊÖ¶¯Ö´Ðе¼³ö¡£ ¸öÈËÒªÇó²»Í¬£º£© ÔÚ07-3-21£¬zongzi <honghunter在gmail.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 -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070321/bf73b415/attachment.htm
2007年03月21日 星期三 14:11
就是建议将这种个人要求不同的部分,做成选项。
2007年03月22日 星期四 16:47
Õâ¸öÈí¼þͦ¿ìµÄ°¡¡£ ¶øÇÒÌå»ýºÜС£¬ÄÜ˵һÏÂÄãµÄsetup.pyÔõôдµÄÂð£¿Ð»Ð»£¡ On 3/21/07, zongzi <honghunter在gmail.com> wrote: > > ¾ÍÊǽ¨Ò齫ÕâÖÖ¸öÈËÒªÇó²»Í¬µÄ²¿·Ö£¬×ö³ÉÑ¡Ïî¡£ > _______________________________________________ > 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/20070322/d04f75fe/attachment.htm
2007年03月22日 星期四 16:57
# Requires wxPython. This sample demonstrates: # # - single file exe using wxPython as GUI. from distutils.core import setup import py2exe import sys # If run without args, build executables, in quiet mode. if len(sys.argv) == 1: sys.argv.append("py2exe") sys.argv.append("-q") class Target: def __init__(self, **kw): self.__dict__.update(kw) # for the versioninfo resources self.version = "0.3.1" self.company_name = "blog_backup.pt42.cn" self.copyright = "pt42" self.name = "blog_backup" ################################################################ # A program using wxPython # The manifest will be inserted as resource into test_wx.exe. This # gives the controls the Windows XP appearance (if run on XP ;-) # # Another option would be to store it in a file named # test_wx.exe.manifest, and copy it with the data_files option into # the dist-dir. # manifest_template = '''''' RT_MANIFEST = 24 blog_backup = Target( # used for the versioninfo resource description = "blog_backup", # what to build script = "blog_backup.py", other_resources = [(RT_MANIFEST, 1, manifest_template % dict(prog="blog_backup"))], icon_resources = [(1, "icon.ico")], dest_base = "blog_backup") ################################################################ setup( options = {"py2exe": {"compressed": 1, "optimize": 2, "ascii": 1, "bundle_files": 1}}, zipfile = None, windows = [blog_backup], ) ÔÚ07-3-22£¬junyi sun <ccnusjy在gmail.com> дµÀ£º > > Õâ¸öÈí¼þͦ¿ìµÄ°¡¡£ > ¶øÇÒÌå»ýºÜС£¬ÄÜ˵һÏÂÄãµÄsetup.pyÔõôдµÄÂð£¿Ð»Ð»£¡ > > On 3/21/07, zongzi <honghunter在gmail.com> wrote: > > > > ¾ÍÊǽ¨Ò齫ÕâÖÖ¸öÈËÒªÇó²»Í¬µÄ²¿·Ö£¬×ö³ÉÑ¡Ïî¡£ > > _______________________________________________ > > 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/20070322/9b710cf3/attachment.html %(prog)s Program
2007年03月22日 星期四 17:11
ÎÊÒ»¸öÎÊÌ⣺ LinuxÏÂnmÖ¸ÁîÓÃÀ´²éÕÒ¶¯Ì¬Á´½Ó¿âÖаüº¬µÄ·ûºÅ£¬Êä³öÊÇÓò»Í¬µÄ±êÖ¾À´±íʾµÄ£¬ÄÄЩ±êÖ¾ËùÖ¸µÄ·ûºÅÊǺ¯ÊýÄØ£¿ -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070322/c6330946/attachment.htm
2007年03月22日 星期四 17:16
On 3/22/07, Liu Xing <liuxing在cn.fujitsu.com> wrote: > > 问一个问题: > > Linux下nm指令用来查找动态链接库中包含的符号,输出是用不同的标志来表示的,哪些标志所指的符号是函数呢? 上面的叙述我看明白了。这里是python列表,那么,关于python方面,你有什么问题吗? -- Best Regards, Leo Jay
2007年03月22日 星期四 17:17
simply "man nm" RTFM On 3/22/07, Liu Xing <liuxing在cn.fujitsu.com> wrote: > > > > > 问一个问题: > > Linux下nm指令用来查找动态链接库中包含的符号,输出是用不同的标志来表示的,哪些标志所指的符号是函数呢? > _______________________________________________ > 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 > -- In doG We Trust
2007年03月22日 星期四 17:21
虽然这里是python的邮件列表,但是关于Linux方面的问题难道就不能在这里提问吗? 如果要说直接的联系,当C的代码附加python api后,或者通过swig来生成可以和python动态链接的库,这个时候我们同样可能需要使用nm指令来分析 这个动态链接库。 > -----Original Message----- > From: python-chinese-bounces在lists.python.cn [mailto:python-chinese-bounces在lists.python.cn] On Behalf Of Leo Jay > Sent: Thursday, March 22, 2007 5:17 PM > To: python-chinese在lists.python.cn > Subject: Re: [python-chinese] 关于nm指令的问题 > > On 3/22/07, Liu Xing <liuxing在cn.fujitsu.com> wrote: > > > > 问一个问题: > > > > Linux下nm指令用来查找动态链接库中包含的符号,输出是用不同的标志来表示的,哪些标志所指的符号是函数呢? > > > 上面的叙述我看明白了。这里是python列表,那么,关于python方面,你有什么问题吗? > > -- > Best Regards, > Leo Jay > _______________________________________________ > 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
2007年03月22日 星期四 17:23
manpage中没有对这个的专门的描述,从google上也搜过了,目前知道标志为“W”“T”“U”的符号必然是函数,但其他标志的符号是否是函数不敢确 定。 > -----Original Message----- > From: python-chinese-bounces在lists.python.cn [mailto:python-chinese-bounces在lists.python.cn] On Behalf Of hutuworm > Sent: Thursday, March 22, 2007 5:17 PM > To: python-chinese在lists.python.cn > Subject: Re: [python-chinese] 关于nm指令的问题 > > simply "man nm" > > RTFM > > On 3/22/07, Liu Xing <liuxing在cn.fujitsu.com> wrote: > > > > > > > > > > 问一个问题: > > > > Linux下nm指令用来查找动态链接库中包含的符号,输出是用不同的标志来表示的,哪些标志所指的符号是函数呢? > > _______________________________________________ > > 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 > > > > > -- > In doG We Trust > _______________________________________________ > 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
2007年03月22日 星期四 21:41
请问,这个还有什么保密功能吗? 我想利用这个工具将http://limodou.blogbus.com/的几个帖子抓下来慢慢看,但是显示: 下载列表@http://limodou.blogbus.com/index_1.html ===================================== 没有发现一篇博客文章! 请确定网络是否正常,用户是否正确。 ===================================== 博客 [limodou在blogbus] 备份完成,共 0 篇文章!
2007年03月22日 星期四 22:00
лл£¬ÎÒ°´ÕÕÕâ¸ö²ÎÊýÊÔÁË£¬µ«ÊÇÎÒµÄpython³ÌÐò»¹ÊÇ´ï²»µ½1.5MÕâôС¡£ ÇëÎÊÄúimportÁËÄÄЩģ¿é£¿ÊDz»ÊÇÒòΪÎҵijÌÐòimportµÄÄ£¿éÌ«¶àÁËÄØ£¿ On 3/22/07, pt42 <pt4200在gmail.com> wrote: > > # Requires wxPython. This sample demonstrates: > # > # - single file exe using wxPython as GUI. > > from distutils.core import setup > import py2exe > import sys > > # If run without args, build executables, in quiet mode. > if len(sys.argv) == 1: > sys.argv.append("py2exe") > sys.argv.append("-q") > > class Target: > def __init__(self, **kw): > self.__dict__.update(kw) > # for the versioninfo resources > self.version = "0.3.1" > self.company_name = "blog_backup.pt42.cn" > self.copyright = "pt42" > self.name = "blog_backup" > > ################################################################ > # A program using wxPython > > # The manifest will be inserted as resource into test_wx.exe. This > # gives the controls the Windows XP appearance (if run on XP ;-) > # > # Another option would be to store it in a file named > # test_wx.exe.manifest, and copy it with the data_files option into > # the dist-dir. > # > manifest_template = ''' > >> > version="5.0.0.0" > processorArchitecture="x86" > name="%(prog)s" > type="win32" > /> > %(prog)s Program >> > > type="win32" > name="Microsoft.Windows.Common-Controls " > version="6.0.0.0" > processorArchitecture="X86" > publicKeyToken="6595b64144ccf1df" > language="*" > /> > > > > ''' > > RT_MANIFEST = 24 > > blog_backup = Target( > # used for the versioninfo resource > description = "blog_backup", > > # what to build > script = "blog_backup.py", > other_resources = [(RT_MANIFEST, 1, manifest_template % > dict(prog="blog_backup"))], > icon_resources = [(1, "icon.ico")], > dest_base = "blog_backup") > > ################################################################ > > setup( > options = {"py2exe": {"compressed": 1, > "optimize": 2, > "ascii": 1, > "bundle_files": 1}}, > zipfile = None, > windows = [blog_backup], > ) > > > ÔÚ07-3-22£¬junyi sun <ccnusjy在gmail.com> дµÀ£º > > > > Õâ¸öÈí¼þͦ¿ìµÄ°¡¡£ > > ¶øÇÒÌå»ýºÜС£¬ÄÜ˵һÏÂÄãµÄsetup.pyÔõôдµÄÂð£¿Ð»Ð»£¡ > > > > On 3/21/07, zongzi <honghunter在gmail.com> wrote: > > > > > > ¾ÍÊǽ¨Ò齫ÕâÖÖ¸öÈËÒªÇó²»Í¬µÄ²¿·Ö£¬×ö³ÉÑ¡Ïî¡£ > > > _______________________________________________ > > > 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 > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070322/9acb3ff2/attachment.html
2007年03月22日 星期四 22:04
On 3/22/07, junyi sun <ccnusjy在gmail.com> wrote: > 谢谢,我按照这个参数试了,但是我的python程序还是达不到1.5M这么小。 正常的Python 打包发布的话,仅仅Python 自身的.dll 等等就有3M的, 除非你使用 packet 版本的嵌入式Python 环境,才可能这么小的 > 请问您import了哪些模块?是不是因为我的程序import的模块太多了呢? > > > On 3/22/07, pt42 <pt4200在gmail.com > wrote: > > > > > > # Requires wxPython. This sample demonstrates: > > # > > # - single file exe using wxPython as GUI. > > > > from distutils.core import setup > > import py2exe > > import sys > > > > # If run without args, build executables, in quiet mode. > > if len(sys.argv) == 1: > > sys.argv.append("py2exe") > > sys.argv.append("-q") > > > > class Target: > > def __init__(self, **kw): > > self.__dict__.update(kw) > > # for the versioninfo resources > > self.version = "0.3.1" > > self.company_name = "blog_backup.pt42.cn" > > self.copyright = "pt42" > > self.name = "blog_backup" > > > > > ################################################################ > > # A program using wxPython > > > > # The manifest will be inserted as resource into test_wx.exe. This > > # gives the controls the Windows XP appearance (if run on XP ;-) > > # > > # Another option would be to store it in a file named > > # test_wx.exe.manifest, and copy it with the data_files option into > > # the dist-dir. > > # > > manifest_template = ''' > > > >> manifestVersion=" 1.0"> > > > > version="5.0.0.0" > > processorArchitecture="x86" > > name="%(prog)s" > > type="win32" > > /> > > %(prog)s Program > >> > > > > > type="win32" > > name="Microsoft.Windows.Common-Controls " > > version="6.0.0.0" > > processorArchitecture="X86" > > publicKeyToken="6595b64144ccf1df" > > language="*" > > /> > > > > > > > > ''' > > > > RT_MANIFEST = 24 > > > > blog_backup = Target( > > # used for the versioninfo resource > > description = "blog_backup", > > > > # what to build > > script = "blog_backup.py", > > other_resources = [(RT_MANIFEST, 1, manifest_template % > dict(prog="blog_backup"))], > > icon_resources = [(1, "icon.ico")], > > dest_base = "blog_backup") > > > > > ################################################################ > > > > setup( > > options = {"py2exe": {"compressed": 1, > > "optimize": 2, > > "ascii": 1, > > "bundle_files": 1}}, > > zipfile = None, > > windows = [blog_backup], > > ) > > > > > > > > 在07-3-22,junyi sun <ccnusjy在gmail.com> 写道: > > > > > > > > 这个软件挺快的啊。 > > > 而且体积很小,能说一下你的setup.py怎么写的吗?谢谢! > > > > > > > > > On 3/21/07, zongzi <honghunter在gmail.com> wrote: > > > > 就是建议将这种个人要求不同的部分,做成选项。 > > > > _______________________________________________ > > > > 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 > > > > > _______________________________________________ > 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 > -- '''Time is unimportant, only life important! http://zoomquiet.org blog在http://blog.zoomquiet.org/pyblosxom/ wiki在http://wiki.woodpecker.org.cn/moin/ZoomQuiet scrap在http://floss.zoomquiet.org douban在http://www.douban.com/people/zoomq/ ____________________________________ Pls. use OpenOffice.org to replace M$ Office. http://zh.openoffice.org Pls. use 7-zip to replace WinRAR/WinZip. http://7-zip.org/zh-cn/ You can get the truely Freedom 4 software. '''
2007年03月22日 星期四 22:08
ÎÒÔø¾³¢ÊÔÓÃASPackȥѹËõpy2exe±àÒëºÃµÄexeÎļþ£¬µ¹ÊÇÄÜѹËõ²»ÉÙ£¬µ«ÊÇ80%µÄÇé¿öϳÌÐò¶¼ÎÞ·¨ÔËÐÐÁË¡£ Ç¿ÁÒºô»½Â¥Ö÷´«ÊÚpython"ÊÝÉí"Ãؾ÷¡£ On 3/22/07, Zoom. Quiet <zoom.quiet在gmail.com> wrote: > > On 3/22/07, junyi sun <ccnusjy在gmail.com> wrote: > > лл£¬ÎÒ°´ÕÕÕâ¸ö²ÎÊýÊÔÁË£¬µ«ÊÇÎÒµÄpython³ÌÐò»¹ÊÇ´ï²»µ½1.5MÕâôС¡£ > Õý³£µÄPython ´ò°ü·¢²¼µÄ»°£¬½ö½öPython ×ÔÉíµÄ.dll µÈµÈ¾ÍÓÐ3MµÄ£¬ > ³ý·ÇÄãʹÓà packet °æ±¾µÄǶÈëʽPython »·¾³£¬²Å¿ÉÄÜÕâôСµÄ > > ÇëÎÊÄúimportÁËÄÄЩģ¿é£¿ÊDz»ÊÇÒòΪÎҵijÌÐòimportµÄÄ£¿éÌ«¶àÁËÄØ£¿ > > > > > > On 3/22/07, pt42 <pt4200在gmail.com > wrote: > > > > > > > > > # Requires wxPython. This sample demonstrates: > > > # > > > # - single file exe using wxPython as GUI. > > > > > > from distutils.core import setup > > > import py2exe > > > import sys > > > > > > # If run without args, build executables, in quiet mode. > > > if len(sys.argv) == 1: > > > sys.argv.append("py2exe") > > > sys.argv.append("-q") > > > > > > class Target: > > > def __init__(self, **kw): > > > self.__dict__.update(kw) > > > # for the versioninfo resources > > > self.version = "0.3.1" > > > self.company_name = "blog_backup.pt42.cn" > > > self.copyright = "pt42" > > > self.name = "blog_backup" > > > > > > > > ################################################################ > > > # A program using wxPython > > > > > > # The manifest will be inserted as resource into test_wx.exe. This > > > # gives the controls the Windows XP appearance (if run on XP ;-) > > > # > > > # Another option would be to store it in a file named > > > # test_wx.exe.manifest, and copy it with the data_files option into > > > # the dist-dir. > > > # > > > manifest_template = ''' > > > > > >> > manifestVersion=" 1.0"> > > > > > > version="5.0.0.0" > > > processorArchitecture="x86" > > > name="%(prog)s" > > > type="win32" > > > /> > > > %(prog)s Program > > >> > > > > > > > > type="win32" > > > name="Microsoft.Windows.Common-Controls " > > > version="6.0.0.0" > > > processorArchitecture="X86" > > > publicKeyToken="6595b64144ccf1df" > > > language="*" > > > /> > > > > > > > > > > > > ''' > > > > > > RT_MANIFEST = 24 > > > > > > blog_backup = Target( > > > # used for the versioninfo resource > > > description = "blog_backup", > > > > > > # what to build > > > script = "blog_backup.py", > > > other_resources = [(RT_MANIFEST, 1, manifest_template % > > dict(prog="blog_backup"))], > > > icon_resources = [(1, "icon.ico")], > > > dest_base = "blog_backup") > > > > > > > > ################################################################ > > > > > > setup( > > > options = {"py2exe": {"compressed": 1, > > > "optimize": 2, > > > "ascii": 1, > > > "bundle_files": 1}}, > > > zipfile = None, > > > windows = [blog_backup], > > > ) > > > > > > > > > > > > ÔÚ07-3-22£¬junyi sun <ccnusjy在gmail.com> дµÀ£º > > > > > > > > > > > Õâ¸öÈí¼þͦ¿ìµÄ°¡¡£ > > > > ¶øÇÒÌå»ýºÜС£¬ÄÜ˵һÏÂÄãµÄsetup.pyÔõôдµÄÂð£¿Ð»Ð»£¡ > > > > > > > > > > > > On 3/21/07, zongzi <honghunter在gmail.com> wrote: > > > > > ¾ÍÊǽ¨Ò齫ÕâÖÖ¸öÈËÒªÇó²»Í¬µÄ²¿·Ö£¬×ö³ÉÑ¡Ïî¡£ > > > > > _______________________________________________ > > > > > 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 > > > > > > > > > _______________________________________________ > > 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 > > > > > -- > '''Time is unimportant, only life important! > http://zoomquiet.org > blog在http://blog.zoomquiet.org/pyblosxom/ > wiki在http://wiki.woodpecker.org.cn/moin/ZoomQuiet > scrap在http://floss.zoomquiet.org > douban在http://www.douban.com/people/zoomq/ > ____________________________________ > Pls. use OpenOffice.org to replace M$ Office. > http://zh.openoffice.org > Pls. use 7-zip to replace WinRAR/WinZip. > http://7-zip.org/zh-cn/ > You can get the truely Freedom 4 software. > ''' > _______________________________________________ > 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/20070322/29d7f104/attachment.htm
2007年03月22日 星期四 22:09
лл£¡ packet °æ±¾ÊÇʲôÑùµÄ£¿ÓÐÄÄЩ°ü¿ÉÒÔÓã¿ On 3/22/07, Zoom. Quiet <zoom.quiet在gmail.com> wrote: > > On 3/22/07, junyi sun <ccnusjy在gmail.com> wrote: > > лл£¬ÎÒ°´ÕÕÕâ¸ö²ÎÊýÊÔÁË£¬µ«ÊÇÎÒµÄpython³ÌÐò»¹ÊÇ´ï²»µ½1.5MÕâôС¡£ > Õý³£µÄPython ´ò°ü·¢²¼µÄ»°£¬½ö½öPython ×ÔÉíµÄ.dll µÈµÈ¾ÍÓÐ3MµÄ£¬ > ³ý·ÇÄãʹÓà packet °æ±¾µÄǶÈëʽPython »·¾³£¬²Å¿ÉÄÜÕâôСµÄ > > ÇëÎÊÄúimportÁËÄÄЩģ¿é£¿ÊDz»ÊÇÒòΪÎҵijÌÐòimportµÄÄ£¿éÌ«¶àÁËÄØ£¿ > > > > > > On 3/22/07, pt42 <pt4200在gmail.com > wrote: > > > > > > > > > # Requires wxPython. This sample demonstrates: > > > # > > > # - single file exe using wxPython as GUI. > > > > > > from distutils.core import setup > > > import py2exe > > > import sys > > > > > > # If run without args, build executables, in quiet mode. > > > if len(sys.argv) == 1: > > > sys.argv.append("py2exe") > > > sys.argv.append("-q") > > > > > > class Target: > > > def __init__(self, **kw): > > > self.__dict__.update(kw) > > > # for the versioninfo resources > > > self.version = "0.3.1" > > > self.company_name = "blog_backup.pt42.cn" > > > self.copyright = "pt42" > > > self.name = "blog_backup" > > > > > > > > ################################################################ > > > # A program using wxPython > > > > > > # The manifest will be inserted as resource into test_wx.exe. This > > > # gives the controls the Windows XP appearance (if run on XP ;-) > > > # > > > # Another option would be to store it in a file named > > > # test_wx.exe.manifest, and copy it with the data_files option into > > > # the dist-dir. > > > # > > > manifest_template = ''' > > > > > >> > manifestVersion=" 1.0"> > > > > > > version="5.0.0.0" > > > processorArchitecture="x86" > > > name="%(prog)s" > > > type="win32" > > > /> > > > %(prog)s Program > > >> > > > > > > > > type="win32" > > > name="Microsoft.Windows.Common-Controls " > > > version="6.0.0.0" > > > processorArchitecture="X86" > > > publicKeyToken="6595b64144ccf1df" > > > language="*" > > > /> > > > > > > > > > > > > ''' > > > > > > RT_MANIFEST = 24 > > > > > > blog_backup = Target( > > > # used for the versioninfo resource > > > description = "blog_backup", > > > > > > # what to build > > > script = "blog_backup.py", > > > other_resources = [(RT_MANIFEST, 1, manifest_template % > > dict(prog="blog_backup"))], > > > icon_resources = [(1, "icon.ico")], > > > dest_base = "blog_backup") > > > > > > > > ################################################################ > > > > > > setup( > > > options = {"py2exe": {"compressed": 1, > > > "optimize": 2, > > > "ascii": 1, > > > "bundle_files": 1}}, > > > zipfile = None, > > > windows = [blog_backup], > > > ) > > > > > > > > > > > > ÔÚ07-3-22£¬junyi sun <ccnusjy在gmail.com> дµÀ£º > > > > > > > > > > > Õâ¸öÈí¼þͦ¿ìµÄ°¡¡£ > > > > ¶øÇÒÌå»ýºÜС£¬ÄÜ˵һÏÂÄãµÄsetup.pyÔõôдµÄÂð£¿Ð»Ð»£¡ > > > > > > > > > > > > On 3/21/07, zongzi <honghunter在gmail.com> wrote: > > > > > ¾ÍÊǽ¨Ò齫ÕâÖÖ¸öÈËÒªÇó²»Í¬µÄ²¿·Ö£¬×ö³ÉÑ¡Ïî¡£ > > > > > _______________________________________________ > > > > > 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 > > > > > > > > > _______________________________________________ > > 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 > > > > > -- > '''Time is unimportant, only life important! > http://zoomquiet.org > blog在http://blog.zoomquiet.org/pyblosxom/ > wiki在http://wiki.woodpecker.org.cn/moin/ZoomQuiet > scrap在http://floss.zoomquiet.org > douban在http://www.douban.com/people/zoomq/ > ____________________________________ > Pls. use OpenOffice.org to replace M$ Office. > http://zh.openoffice.org > Pls. use 7-zip to replace WinRAR/WinZip. > http://7-zip.org/zh-cn/ > You can get the truely Freedom 4 software. > ''' > _______________________________________________ > 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/20070322/51db84e8/attachment.html
2007年03月23日 星期五 09:31
limodou.donews.net/limodou blogbus.comµÄÉè¼ÆÌ«»ìÂÒÁË£¬¿ÉÄܳöÏÖ²»ÄÜÏÂÔصÄÇé¿ö ÔÚ07-3-22£¬zongzi <honghunter在gmail.com> дµÀ£º > > ÇëÎÊ£¬Õâ¸ö»¹ÓÐʲô±£Ãܹ¦ÄÜÂ𣿠> > ÎÒÏëÀûÓÃÕâ¸ö¹¤¾ß½«http://limodou.blogbus.com/µÄ¼¸¸öÌû×Ó×¥ÏÂÀ´ÂýÂý¿´£¬µ«ÊÇÏÔʾ£º > > > ÏÂÔØÁбí£Àhttp://limodou.blogbus.com/index_1.html > > > > ===================================== > > > ûÓз¢ÏÖһƪ²©¿ÍÎÄÕ£¡ > > > ÇëÈ·¶¨ÍøÂçÊÇ·ñÕý³££¬Óû§ÊÇ·ñÕýÈ·¡£ > > > ===================================== > > > ²©¿Í [limodou在blogbus] ±¸·ÝÍê³É£¬¹² 0 ƪÎÄÕ£¡ > _______________________________________________ > 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/20070323/8f11055d/attachment.html
2007年03月23日 星期五 09:32
Äã¿ÉÒÔÊÔÊÔUPX ÔÚ07-3-22£¬junyi sun <ccnusjy在gmail.com> дµÀ£º > > ÎÒÔø¾³¢ÊÔÓÃASPackȥѹËõpy2exe±àÒëºÃµÄexeÎļþ£¬µ¹ÊÇÄÜѹËõ²»ÉÙ£¬µ«ÊÇ80%µÄÇé¿öϳÌÐò¶¼ÎÞ·¨ÔËÐÐÁË¡£ > > Ç¿ÁÒºô»½Â¥Ö÷´«ÊÚpython"ÊÝÉí"Ãؾ÷¡£ > > On 3/22/07, Zoom. Quiet < zoom.quiet在gmail.com> wrote: > > > > On 3/22/07, junyi sun < ccnusjy在gmail.com> wrote: > > > лл£¬ÎÒ°´ÕÕÕâ¸ö²ÎÊýÊÔÁË£¬µ«ÊÇÎÒµÄpython³ÌÐò»¹ÊÇ´ï²»µ½1.5MÕâôС¡£ > > Õý³£µÄPython ´ò°ü·¢²¼µÄ»°£¬½ö½öPython ×ÔÉíµÄ.dll µÈµÈ¾ÍÓÐ3MµÄ£¬ > > ³ý·ÇÄãʹÓà packet °æ±¾µÄǶÈëʽPython »·¾³£¬²Å¿ÉÄÜÕâôСµÄ > > > ÇëÎÊÄúimportÁËÄÄЩģ¿é£¿ÊDz»ÊÇÒòΪÎҵijÌÐòimportµÄÄ£¿éÌ«¶àÁËÄØ£¿ > > > > > > > > > On 3/22/07, pt42 <pt4200在gmail.com > wrote: > > > > > > > > > > > > # Requires wxPython. This sample demonstrates: > > > > # > > > > # - single file exe using wxPython as GUI. > > > > > > > > from distutils.core import setup > > > > import py2exe > > > > import sys > > > > > > > > # If run without args, build executables, in quiet mode. > > > > if len(sys.argv ) == 1: > > > > sys.argv.append("py2exe") > > > > sys.argv.append("-q") > > > > > > > > class Target: > > > > def __init__(self, **kw): > > > > self.__dict__.update(kw) > > > > # for the versioninfo resources > > > > self.version = "0.3.1" > > > > self.company_name = "blog_backup.pt42.cn" > > > > self.copyright = "pt42" > > > > self.name = "blog_backup" > > > > > > > > > > > ################################################################ > > > > # A program using wxPython > > > > > > > > # The manifest will be inserted as resource into test_wx.exe. This > > > > # gives the controls the Windows XP appearance (if run on XP ;-) > > > > # > > > > # Another option would be to store it in a file named > > > > # test_wx.exe.manifest, and copy it with the data_files option into > > > > # the dist-dir. > > > > # > > > > manifest_template = ''' > > > > > > > >> > > manifestVersion=" 1.0"> > > > > > > > > version="5.0.0.0 " > > > > processorArchitecture="x86" > > > > name="%(prog)s" > > > > type="win32" > > > > /> > > > > %(prog)s Program > > > >> > > > > > > > > > > > type="win32" > > > > name="Microsoft.Windows.Common-Controls " > > > > version="6.0.0.0" > > > > processorArchitecture="X86" > > > > publicKeyToken="6595b64144ccf1df" > > > > language="*" > > > > /> > > > > > > > > > > > > > > > > ''' > > > > > > > > RT_MANIFEST = 24 > > > > > > > > blog_backup = Target( > > > > # used for the versioninfo resource > > > > description = "blog_backup", > > > > > > > > # what to build > > > > script = "blog_backup.py", > > > > other_resources = [(RT_MANIFEST, 1, manifest_template % > > > dict(prog="blog_backup"))], > > > > icon_resources = [(1, "icon.ico ")], > > > > dest_base = "blog_backup") > > > > > > > > > > > ################################################################ > > > > > > > > setup( > > > > options = {"py2exe": {"compressed": 1, > > > > "optimize": 2, > > > > "ascii": 1, > > > > "bundle_files": 1}}, > > > > zipfile = None, > > > > windows = [blog_backup], > > > > ) > > > > > > > > > > > > > > > > ÔÚ07-3-22£¬junyi sun <ccnusjy在gmail.com> дµÀ£º > > > > > > > > > > > > > > Õâ¸öÈí¼þͦ¿ìµÄ°¡¡£ > > > > > ¶øÇÒÌå»ýºÜС£¬ÄÜ˵һÏÂÄãµÄsetup.pyÔõôдµÄÂð£¿Ð»Ð»£¡ > > > > > > > > > > > > > > > On 3/21/07, zongzi <honghunter在gmail.com> wrote: > > > > > > ¾ÍÊǽ¨Ò齫ÕâÖÖ¸öÈËÒªÇó²»Í¬µÄ²¿·Ö£¬×ö³ÉÑ¡Ïî¡£ > > > > > > _______________________________________________ > > > > > > 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 > > > > > > > > > > > > > _______________________________________________ > > > 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 > > > > > > > > > -- > > '''Time is unimportant, only life important! > > http://zoomquiet.org > > blog@ http://blog.zoomquiet.org/pyblosxom/ > > wiki在http://wiki.woodpecker.org.cn/moin/ZoomQuiet > > scrap在http://floss.zoomquiet.org > > douban在http://www.douban.com/people/zoomq/ > > ____________________________________ > > Pls. use OpenOffice.org to replace M$ Office. > > http://zh.openoffice.org > > Pls. use 7-zip to replace WinRAR/WinZip. > > http://7-zip.org/zh-cn/ > > You can get the truely Freedom 4 software. > > ''' > > _______________________________________________ > > 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/20070323/7e443083/attachment.htm
2007年03月23日 星期五 12:27
On 3/23/07, pt42 <pt4200在gmail.com> wrote: > limodou.donews.net/limodou > > > blogbus.com的设计太混乱了,可能出现不能下载的情况 > 厉害,还能找到我当初在blogbus上的blog地址啊。 -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou
2007年03月23日 星期五 15:08
ÎÒÔÚËÑË÷"python Ìå»ý"µÄʱºò£¬ÎÞÒâÖ®¼ä·¢ÏÖÁËÒ»Öֽű¾ÓïÑÔAutoit. ÕâÖÖÓïÑÔ¶ÔÓÚwindowsƽ̨µÄ×Ô¶¯»¯ÓкÜÇ¿µÄ¿É²Ù×÷ÐÔ£¬¶øÇÒ¿ÉÒÔ±àÒë³É¶ÀÁ¢µÄexe£¬´óС 2k~8K ÕýÔÚÑо¿ÖС£¡£¡£¡£ On 3/23/07, limodou <limodou在gmail.com> wrote: > > On 3/23/07, pt42 <pt4200在gmail.com> wrote: > > limodou.donews.net/limodou > > > > > > blogbus.comµÄÉè¼ÆÌ«»ìÂÒÁË£¬¿ÉÄܳöÏÖ²»ÄÜÏÂÔصÄÇé¿ö > > > À÷º¦£¬»¹ÄÜÕÒµ½ÎÒµ±³õÔÚblogbusÉϵÄblogµØÖ·°¡¡£ > > -- > I like python! > UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad > My Blog: http://www.donews.net/limodou > _______________________________________________ > 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/20070323/dbeb249e/attachment.html
2007年03月23日 星期五 15:28
*°æ±¾¸üУº * *Blog_Backup v0.4* [2007-03-23] *Ôö¼Óµ¼³öÎļþΪµ¥¸öHTMLÎļþ *Ôö¼Óµ¼³öÎļþ¸ñʽRSS1 *Ôö¼Óµ¼³öÎļþ¸ñʽRSS2 *Ôö¼Óµ¼³öÎļþ¸ñʽATOM *ÐÞ¸ÄÍøÒײ©¿ÍÖгöÏÖÒýºÅʱ²»ÄÜÍêÈ«±¸·ÝµÄÎÊÌâ -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070323/0a049fd1/attachment.htm
Zeuux © 2025
京ICP备05028076号