How can I turn a python 3.3 script into executable file? I found PyInstaller and py2exe, but all did not support 3.3.
http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/
Both of these tools support 2.7 at most. But my script is written in 3.3.
And I searched the forum posts all pointed to old tools that did not support 3.3.
Here is the link for the Python 3 version of py2exe.
http://sourceforge.net/p/py2exe/svn/HEAD/tree/trunk/py2exe-3/
Hope this is helpful.
You can use cx_Freeze with Python 3.3. http://cx-freeze.sourceforge.net/
Have you had a look at the Python 3.3 documentation? Specifically for Creating Build Distributions and Creating Windows Installers
From the docs:
Since the metadata is taken from the setup script, creating Windows installers is usually as easy as running:
python setup.py bdist_wininst
or the bdist command with the
--formats
option:
python setup.py bdist --formats=wininst
This does presume you have a setup.py
file however.
Py2exe现在也可用于python3, 下载
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.