开发者

py2exe problems

c:\python26\setup.py py2exe

Trying to run py2exe and when I get to comman开发者_运维知识库d prompt I run the line above. However as opposed to converting my file it try's to open it. What am I doing wrong?


You must create your own setup.py and then run it with py2exe:

c:\my_python_scripts>python setup.py py2exe

In your setup.py you import distutils, py2exe and show names of your scripts to compile. There is template for it. Then I usually create .bat file which compiles my scripts.

Have you read py2exe tutorial?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜