HI all,
whenever we open any python/wxpython program there is one more window other than our application is running which is command line window that black window for showing any error or any output through print statement.So i want to remove that window from my wxpython's application,how to do this?please help me...

mywxpythonscript.pyw

this will then run with pythonw.exe which doesn't run the commandline window

Chris

Like Chris said, change the file extension from .py to .pyw. The console should only be used for basic applications or for debugging.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.