I've googled and googled, and everything I've seen has directed me to py2exe. I've looked at it and downloaded the latest version of it, but it says I have to have Python 2.6 to use it! Does this mean I have to use Python 2.6 rather than 3.3.3, or is there an alternative to py2exe?
Edit: Thanks! I can now use cxFreeze, but is there a way I can compile it further so I don't have to run it from a different folder? Or should I create a batch file calling the .exe from the command line and convert the batch file to an executable?
The latest version of py2exe (0.9.2) support python 3 http://sourceforge.net/p/py2exe/feature-requests/20/
Also you can try cx_Freeze it's like py2exe but cross platform.
在大多数* nix系统上,将#!/usr/bin/python
作为主脚本的第一行,然后chmod +x /path/to/script.py
就足够了。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.