This link works fine on Windows, but not in Ubuntu. In Ubuntu, output only appears when it has finished introducing data, not line by line.
I have searched wiki and havent found anything more. Any ideas?
···
On 3/8/07, SPE Stani’s Python Editor spe.stani.be@gmail.com wrote:
The wxPython wiki is your friend:
http://wiki.wxpython.org/index.cgi/StdouttoTextCtrl
Explore the wiki, there might be more useful information for you.
Stani
On 3/8/07, fatima cabot thisismydo@gmail.com wrote:
Hi
Would it be possible to have standard output (sys.stdout) redirected to a
textcontrol line by line (I mean in’real time’ as smth is printed to std
output, it appears on the text control)
–
http://pythonide.stani.be
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
What does exactly this function do?
Yield() is a wx.App method, so you can find its docs under wx.App in:
http://www.wxpython.org/onlinedocs.php
Here is some of what it says:
"""
Yields control to pending messages in the windowing system. This can be useful, for example, when a time-consuming process writes to a text window. Without an occasional yield, the text window will not be updated properly
"""
Essentially, it flushed the Events stack, processing all the events that have piled up there. It's very useful for keeping the ap responsive, and making sure things get updated when there is a lot going on.
-Chris
···
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov