Hiding command-line dialog in py2exe
Question: Hi When I compile my python script with py2exe, everything works well except a
usless command-line dialog appears as well as my GUI. Any way to fix this? I
have python 2.7 and my setup script looks like this:

    
    
    from distutils.core import setup
    import py2exe
    setup(console=['Main.py'])  
    

Please help!


Answer: Using `setup(windows=['Main.py'])` should remove the command line dialog and
use Main.py as your console, instead.

