I have an application that outputs several things to the console at startup. But how does a standalone executable not print anything to the console?
Setup.py script looks like this:
import sys from cx_Freeze import setup, Executable setup( name = "My App", version = "1.0", options = { "build_exe" : { "include_files": ['MyImgs'] }, }, executables = [Executable("Main.py", base = "Win32GUI")] )
At the command prompt, I run the following: py setup.py build
Then I find the executable file and run: Main.exe .
For some reason, I miss some print() statements. Is there something I need to include in my script setup for this to happen?
source share