base = None
if sys.platform == 'win32':
    base = 'Win32GUI'
setup(name='simple_PyQt4', version='0.1', description=
    'Sample cx_Freeze PyQt4 script', executables=[Executable('PyQt4app.py',
    base=base)])
How can I hide the console window when freezing wxPython applications with cxFreeze?