Compiling with Python 3.3

寵の児 提交于 2019-12-02 05:44:51

问题


Let me start by saying I have only very recently started programming. I don't know how to use the cx_freeze script. I don't know how to make the word 'python' work in commandline. I am just looking for complete and detailed directions on how to make a .py file into a .exe file that can work without Python. I haven't had luck with cx_freeze and nothing else seems to work with 3.3. Can anyone tell me wher to start?


回答1:


Unfortunately, cx_freeze is the only way to do it as far as I can tell.

Perhaps you are just having bad luck with cx_freeze. Try this in a .bat file.

@echo off
<python path>\python <python path>\scripts\cxfreeze <script .py file>
exit

Python path is most likely C:\python33.



来源:https://stackoverflow.com/questions/14512936/compiling-with-python-3-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!