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.