Re: 小项目:dell遥控器精灵―― ―― 是用PY2EXE打包成一个文件
pt42 <[email protected]> Sun, 20 Jan 2008 09:26:08 +0800
| Newsgroups | gmane.comp.python.chinese |
|---|---|
| Message-ID | <[email protected]> |
console,同时"bundle_files": 1 但使用windows,只能用"bundle_files": 3,否则打包出来的文件不能HOOK键盘 在 08-1-17,faitherq<[email protected]> 写道: > > 是用PY2EXE打包成一个文件 > > from distutils.core import setup > import py2exe > includes = ["encodings", "encodings.*"] > options = {"py2exe": > { "compressed": 1, > "optimize": 2, > "includes": includes, > "bundle_files": 1 # '注意这里' > } > } > setup( > console = [{"script": "readkiller.py", "icon_resources": [(1, > "strtool.ico")] }], #文件名 > #console=['hello.py'], > version = "0.1.0", > options = options, > zipfile=None, > > > ) > > > 2008-01-17 ________________________________ > > faitherq ________________________________ > > 发件人: pt42 > 发送时间: 2008-01-17 09:50:13 > 收件人: [email protected] > 抄送: > 主题: Re: [python-chinese]小项目:dell遥控器精灵 > > 是用PY2EXE打包成一个文件吗?求setup.py写法 > > 在 08-1-17,fluke.l <[email protected] > 写道: > > > > 我也有遥控器。晚上回去试试。 > > > > 更感兴趣的是pyhook模块和你的代码,哈。谢谢提供了这么好的项目。 > > > > > > 2008-01-17 ________________________________ > > > > fluke.l ________________________________ > > > > 发件人: flyaflya > > 发送时间: 2008-01-16 23:10:10 > > 收件人: [email protected] > > 抄送: > > 主题: [python-chinese]小项目:dell遥控器精灵 > > 用遥控器控制鼠标,用的是pyhook模块。 > > http://sourceforge.net/projects/dell > > > > -- > > http://www.flyaflya.com > > _______________________________________________ > > python-chinese > > Post: send [email protected] > > Subscribe: send subscribe to > > [email protected] > > Unsubscribe: send unsubscribe to > > [email protected] > > Detail Info: > > http://python.cn/mailman/listinfo/python-chinese > > > _______________________________________________ > python-chinese > Post: send [email protected] > Subscribe: send subscribe to > [email protected] > Unsubscribe: send unsubscribe to > [email protected] > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > _______________________________________________ > python-chinese > Post: send [email protected] > Subscribe: send subscribe to > [email protected] > Unsubscribe: send unsubscribe to > [email protected] > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > _______________________________________________ python-chinese Post: send [email protected] Subscribe: send subscribe to [email protected] Unsubscribe: send unsubscribe to [email protected] Detail Info: http://python.cn/mailman/listinfo/python-chinese