I am controlling wxpython from a threaded python shell. It mostly
works, but when I realize my desired window, another window appears
titled
wxPython: stdout/stderr (Not responding)
and seems to steal text I meant for my shell. Is wxpython grabbing
stdout, and is there a way I can prevent this, or at least grab it
back?
Interestingly, this happens under win32 (wxpython 2.4.1.2) and OSX
(2.4.2.4), but not linux (2.4.2.4). It looks more like a platform
than a version thing, given how close the version numbers are.
I am controlling wxpython from a threaded python shell. It mostly
works, but when I realize my desired window, another window appears
titled
wxPython: stdout/stderr (Not responding)
and seems to steal text I meant for my shell. Is wxpython grabbing
stdout, and is there a way I can prevent this, or at least grab it
back?
Pass redirect=False to the wx.App constructor.
Interestingly, this happens under win32 (wxpython 2.4.1.2) and OSX
(2.4.2.4), but not linux (2.4.2.4). It looks more like a platform
than a version thing, given how close the version numbers are.
The default value of redirect is different based on platform.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!