Initiate Cmd Console For Executable Created By Cx_freeze In Python
I have created an application in Python and have made it executable using cx_Freeze. When the script was not converted into an executable it used to take an input from the cmd (in
Solution 1:
It is allready in the comment in your code (and in cx_Freeze’s documentation, you should simply comment the 2 lines
if sys.platform == "win32":
base = "Win32GUI"
If you let base = None
your exe will be a console application (and not a GUI one) and Windows will automatically provide it with a new console if not allready started from one.
Post a Comment for "Initiate Cmd Console For Executable Created By Cx_freeze In Python"