Hi,
I use a wxPyInformationalMessagesFrame to catch std out/err, then PyShell to debug (cos its always an error message at the moment).
Is there a way to send stdout/stderr to PyShell. If not, can I suggest it has a wxPyInformationMessagesFrarame tacked on to make it even easier to use?
Chris.
"Chris Munchenberg" <cjm@ava.com.au> writes:
Hi,
I use a wxPyInformationalMessagesFrame to catch std out/err, then PyShell to debug (cos its always an error message at the moment).
Is there a way to send stdout/stderr to PyShell. If not, can I suggest it has a wxPyInformationMessagesFrarame tacked on to make it even easier to use?
Turn on the time machine and away we go:
PyCrust 0.9.1 - The Flakiest Python Shell
Sponsored by Orbtech - Your source for Python programming expertise.
Python 2.2.2 (#5, Feb 2 2003, 10:00:24)
[GCC 3.2 (Mandrake Linux 9.0 3.2-1mdk)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> shell.redirectStderr(redirect=True)
>>> shell.redirectStdout(redirect=True)
>>>
I'm not sure how long they've been there, but I know it's been quite a
while. If that doesn't do what you want, let me know. Now that I've
got the tabbed interface, maybe I should have a stderr/stdout tab and
display then there. Just a thought.
ยทยทยท
--
Patrick K. O'Brien
Orbtech http://www.orbtech.com/web/pobrien
-----------------------------------------------
"Your source for Python programming expertise."
-----------------------------------------------