On Sun, Feb 7, 2010 at 7:59 AM, depython <[email protected]> wrote:
> 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)
>

If you use the second appoach, it'll enabled for all situations, so I
think the first appoach is better.
-- 
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

Reply via email to