I am trying to convert a python game (made with pygame) to an exe file for windows and I used cx_Freeze. No problem.
The fact is that when you start myGame.exe, the usual Pygame window opens and the console window (which I donโt want).
Is there any way to remove the console window? I read most of the documentation but didnโt see anything (except the base, but I donโt understand what it is).
By the way, here is my settings file:
import cx_Freeze exe = [cx_Freeze.Executable("myGame.py")] cx_Freeze.setup( name = "GameName", version = "1.0", options = {"build_exe": {"packages": ["pygame", "random", "ConfigParser", "sys"], "include_files": [ "images", "settings.ini", "arialbd.ttf"]}}, executables = exe )
Here is a snapshot of what happens when I run exe: 
Dalex source share