[wxPython] Where is wxLog

Thanks.

What I'm really trying to do is capture the output to a wxTextCtrl on a wxMDIChildFrame in my MDI app. I'd rather not have a dos window open when the user is running the program.

Gene

···

------Original Message------
From: Riaan Booysen <riaan@e.co.za>
To: wxpython-users@wxwindows.org
Sent: May 31, 2000 5:15:10 PM GMT
Subject: Re: [wxPython] Where is wxLog

Hi Gene,

Gene Chiaramonte wrote:

wxLog is something I could use.

Also, is there and example of trapping the output from python within
a running wxPython program? ie. When when an error is generated in my
wxPython program, where does the message go and how do I get it?
This is something I really need to do. I'm running wxPython on Windoze.

It goes to stderr which if you've got a console open gets printed to
the console.

To run an app in a console open, start a DOS shell in your app's
directory and type:
python MyAppName.py
(Python has to be in your PATH, otherwise you have to type
the whole file path)
This console stays open after the app has finished.

I my experience you should also get a console window if you just
double click on MyAppName.py (but this console closes when the
app finishes)

--
Riaan >>> a='a=%s;a%%`a`';a%`a`
___________________________________________________
Boa Constructor - RAD GUI building IDE for wxPython
     http://boa-constructor.sourceforge.net

_______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users
______________________________________________
FREE Personalized Email at Mail.com
Sign up at Free email accounts with mail.com | Log in here or register today