use py2exe

来源:互联网 发布:台湾问题解决知乎 编辑:程序博客网 时间:2024/05/08 05:39
url:http://starship.python.net/crew/theller/py2exe/ 今天看到了一段测试正则表达式匹配的代码,想把它打成个exe文件,好在上班时使用。来研究下怎么用的。 [quote]Using py2exeAssuming you have written a python script myscript.py which you want to convert into an executable windows program, able to run on systems without a python installation. If you don't already have written a distutils setup-script, write one, and insert the statement import py2exe before the call to the setup function:[/quote]