*How do I flush output to the log console?*
*I have:*
*-------------*
*g.es("starting" )*
*#perform long task*
*....*
*g.es('finished with results %s'%result)*
*-------------*
*I use <ctl>+<b> to run the node.*
*When I was on windows, I would see <starting> and my program would
execute. But on Centos I don't see <starting> till after my program is done.
*
*I tried:*
*import sys*
*sys.stdout.flush()*
*but I saw the same results. *
*The output when I start leo is:*
*Leo 4.10 final, build 5020, 2012-02-26 13:18:08 -0600*
Python 2.7.5, qt version 4.8.4
linux2
*Brian *
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.