2008年01月16日 星期三 23:07
ÓÃÒ£¿ØÆ÷¿ØÖÆÊó±ê£¬ÓõÄÊÇpyhookÄ£¿é¡£ http://sourceforge.net/projects/dell -- http://www.flyaflya.com -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20080116/a8318dd6/attachment-0001.htm
2008年01月17日 星期四 09:22
ÎÒÒ²ÓÐÒ£¿ØÆ÷¡£ÍíÉÏ»ØÈ¥ÊÔÊÔ¡£ ¸ü¸ÐÐËȤµÄÊÇpyhookÄ£¿éºÍÄãµÄ´úÂ룬¹þ¡£Ð»Ð»ÌṩÁËÕâôºÃµÄÏîÄ¿¡£ 2008-01-17 fluke.l ·¢¼þÈË£º flyaflya ·¢ËÍʱ¼ä£º 2008-01-16 23:10:10 ÊÕ¼þÈË£º python-chinese在lists.python.cn ³ËÍ£º Ö÷Ì⣺ [python-chinese]СÏîÄ¿£ºdellÒ£¿ØÆ÷¾«Áé ÓÃÒ£¿ØÆ÷¿ØÖÆÊó±ê£¬ÓõÄÊÇpyhookÄ£¿é¡£ http://sourceforge.net/projects/dell -- http://www.flyaflya.com -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20080117/c27c6f56/attachment.html
2008年01月17日 星期四 09:49
是用PY2EXE打包成一个文件吗?求setup.py写法 在 08-1-17,fluke.l<fluke.l在gmail.com> 写道: > > 我也有遥控器。晚上回去试试。 > > 更感兴趣的是pyhook模块和你的代码,哈。谢谢提供了这么好的项目。 > > > 2008-01-17 ________________________________ > > fluke.l ________________________________ > > 发件人: flyaflya > 发送时间: 2008-01-16 23:10:10 > 收件人: python-chinese在lists.python.cn > 抄送: > 主题: [python-chinese]小项目:dell遥控器精灵 > 用遥控器控制鼠标,用的是pyhook模块。 > http://sourceforge.net/projects/dell > > -- > http://www.flyaflya.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 >
2008年01月17日 星期四 10:04
ÊÇÓÃ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 ÊÕ¼þÈË£º python-chinese在lists.python.cn ³ËÍ£º Ö÷Ì⣺ Re: [python-chinese]СÏîÄ¿£ºdellÒ£¿ØÆ÷¾«Áé ÊÇÓÃPY2EXE´ò°ü³ÉÒ»¸öÎļþÂð£¿Çósetup.pyд·¨ ÔÚ 08-1-17£¬fluke.l <fluke.l在gmail.com > дµÀ£º > > ÎÒÒ²ÓÐÒ£¿ØÆ÷¡£ÍíÉÏ»ØÈ¥ÊÔÊÔ¡£ > > ¸ü¸ÐÐËȤµÄÊÇpyhookÄ£¿éºÍÄãµÄ´úÂ룬¹þ¡£Ð»Ð»ÌṩÁËÕâôºÃµÄÏîÄ¿¡£ > > > 2008-01-17 ________________________________ > > fluke.l ________________________________ > > ·¢¼þÈË£º flyaflya > ·¢ËÍʱ¼ä£º 2008-01-16 23:10:10 > ÊÕ¼þÈË£º python-chinese在lists.python.cn > ³ËÍ£º > Ö÷Ì⣺ [python-chinese]СÏîÄ¿£ºdellÒ£¿ØÆ÷¾«Áé > ÓÃÒ£¿ØÆ÷¿ØÖÆÊó±ê£¬ÓõÄÊÇpyhookÄ£¿é¡£ > http://sourceforge.net/projects/dell > > -- > http://www.flyaflya.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 > _______________________________________________ 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/20080117/fb9ad171/attachment.htm
2008年01月17日 星期四 10:30
全部的代码都可以从svn里下载,里面有setup.py。 pyhook可以hook鼠标和键盘。 On 1/17/08, pt42 <pt4200在gmail.com> wrote: > 是用PY2EXE打包成一个文件吗?求setup.py写法 > > 在 08-1-17,fluke.l<fluke.l在gmail.com> 写道: > > > > 我也有遥控器。晚上回去试试。 > > > > 更感兴趣的是pyhook模块和你的代码,哈。谢谢提供了这么好的项目。 > > > > > > 2008-01-17 ________________________________ > > > > fluke.l ________________________________ > > > > 发件人: flyaflya > > 发送时间: 2008-01-16 23:10:10 > > 收件人: python-chinese在lists.python.cn > > 抄送: > > 主题: [python-chinese]小项目:dell遥控器精灵 > > 用遥控器控制鼠标,用的是pyhook模块。 > > http://sourceforge.net/projects/dell > > > > -- > > http://www.flyaflya.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 > > > _______________________________________________ > 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://www.flyaflya.com
2008年01月17日 星期四 12:05
flyaflya: ÄãºÃ£¬ÏëÎÊһϡ£ ALLRMKEYS = ['Volume_Up', 'Volume_Down', 'Volume_Mute', 'Prior', 'Next', 'Left', 'Up', 'Right', 'Down', 'Return', 'Back', 'Lcontrol', 'Lshift', 'B', 'Media_Play_Pause', 'Lcontrol', 'Lshift', 'F', 'Media_Prev_Track', 'Media_Stop', 'Media_Next_Track'] ÆäÖйØÓÚVolumeºÍMediaµÄÄǼ¸¸ö¼ü£¬Ò²ÊǼüÅ̵ıê×¼°´¼üÀ´µÄ£¿ 2008-01-17 fluke.l ·¢¼þÈË£º flyaflya ·¢ËÍʱ¼ä£º 2008-01-16 23:10:10 ÊÕ¼þÈË£º python-chinese在lists.python.cn ³ËÍ£º Ö÷Ì⣺ [python-chinese]СÏîÄ¿£ºdellÒ£¿ØÆ÷¾«Áé ÓÃÒ£¿ØÆ÷¿ØÖÆÊó±ê£¬ÓõÄÊÇpyhookÄ£¿é¡£ http://sourceforge.net/projects/dell -- http://www.flyaflya.com -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20080117/88cdf4e7/attachment.htm
2008年01月20日 星期日 09:26
console,同时"bundle_files": 1 但使用windows,只能用"bundle_files": 3,否则打包出来的文件不能HOOK键盘 在 08-1-17,faitherq<faitherq在163.com> 写道: > > 是用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 > 收件人: python-chinese在lists.python.cn > 抄送: > 主题: Re: [python-chinese]小项目:dell遥控器精灵 > > 是用PY2EXE打包成一个文件吗?求setup.py写法 > > 在 08-1-17,fluke.l <fluke.l在gmail.com > 写道: > > > > 我也有遥控器。晚上回去试试。 > > > > 更感兴趣的是pyhook模块和你的代码,哈。谢谢提供了这么好的项目。 > > > > > > 2008-01-17 ________________________________ > > > > fluke.l ________________________________ > > > > 发件人: flyaflya > > 发送时间: 2008-01-16 23:10:10 > > 收件人: python-chinese在lists.python.cn > > 抄送: > > 主题: [python-chinese]小项目:dell遥控器精灵 > > 用遥控器控制鼠标,用的是pyhook模块。 > > http://sourceforge.net/projects/dell > > > > -- > > http://www.flyaflya.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 > > > _______________________________________________ > 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 >
Zeuux © 2024
京ICP备05028076号