[wxPython] Stderr/Stdout Window

Assuming you are running under Windows…

Create a script with a pyw extension, then run the .pyw script to launch your application. Using pyw will cause pythonw.exe (no console) to execute rather than python.exe. Here is an example( merlin.pyw launches merlin app in merlin.py):

try:
import merlin
merlin.main()
except SystemExit:
raise
except:
import traceback
traceback.print_exc()
raw_input(“Hit return to exit…”)

···

-----Original Message-----
From: William Voll [mailto:zdweeb@hotmail.com]
Sent: Thursday, August 02, 2001 5:08 AM
To: wxpython-users@lists.wxwindows.org
Subject:
[wxPython] Stderr/Stdout Window

Please excuse me if this has already been explained.

I am using wxPython2.3.0 and Python 2.1.1, I now see when I launch my app a

wxPython: stdout/stderr window. Is there a way to not have this happen?

Thanks,

William Voll