2009/11/1 yy <[email protected]>:
> 从SVN里下的最新版本,当运行一直进行中的时候,下面的信息栏里没有输出,比如下面的代码就print不出来
> #-*- coding: utf-8 -*-
> from time import sleep
>
> print '1'
> while True:
>    sleep(1)

这是一个死循环,所以有问题。在命令行加上-u应该可以显示。

-- 
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