默认调用 sys.stdout.write() 方法 import sys sys.stdout.write("hello") 会在控制台打印:hello 相关文章: 2021-12-29 2021-10-14 2021-07-30 2021-12-28 2021-04-20 2021-06-14 2021-10-28