🌈 搜索
📅  最后修改于: 2022-03-11 14:46:25.725000             🧑  作者: Mango
sys.stdout = open("test.txt", "w") print("Hello World") sys.stdout.close() # TEST.TXT: # Hello World