Thanks for your hints. I found 2 ways to solve my problem.
1. Python->Set Arguments...
Enter -u for the Parameters
2. mixins\Imports.py
def OnPythonRun(win, event):
..........
#modified the below line to include -u to enable unbuffered
stream output
#command = u'"%s" %s "%s" %s' % (interpreter, parameter,
doc.filename, args)
command = u'"%s" -u %s "%s" %s' % (interpreter, parameter,
doc.filename, args)
On Feb 6, 4:59 pm, limodou <[email protected]> wrote:
> On Sat, Feb 6, 2010 at 11:15 PM, depython <[email protected]> wrote:
> > The Message Window is for the stdio/console output. The window is not
> > populated with messages. Only when the application ends will the
> > window be populated with messages.
>
> > Could you please fix it so that the messages are displayed in real
> > time?
>
> > Note: Ulipad 4.0 has this problem
> > Ulipad 3.9 has no problem displaying the messages in real time
>
> Maybe it is because there is no "-u" parameter in python argument any
> more, but you can add it yourself.
>
> --
> I like python!
> UliPad <<The Python Editor>>:http://code.google.com/p/ulipad/
> UliWeb <<simple web framework>>:http://uliwebproject.appspot.com
> My Blog:http://hi.baidu.com/limodou