Python 2.7 中使用 Print 方法 print ("test",file=name)类似的方法在python 2中需要先引入 __future__才可使用 import __futhure__ import print_function