标签:... bsp sys python 参数 方法 file 使用 nbsp
>>> import sys
>>> sys.stdout.flush()
但是实验了,上面的报错,应该是不对的。
实验了,下面的报错,应该是不对的。
使用
print(‘Read file...‘, flush=True)
加上flush=True的参数
标签:... bsp sys python 参数 方法 file 使用 nbsp
原文地址:http://www.cnblogs.com/charlesblc/p/6642315.html