Possible Duplicate:
How can I hide the console window in a PyQt app running on Windows?
When I double-click in Windows on my pygame app (.py) the desired pygame window opens, but always along with it, an empty terminal window pops up. How can I prevent this?
Change the file extension of your file from
.pyto.pyw.See Using the Python Interpreter: