📜  pythonwrite to file - Python 代码示例
📅  最后修改于: 2022-03-11 14:45:21.828000             🧑  作者: Mango
代码示例3
file = open("directory/sample.txt", "w")
file.write(“Hello World”)
file.close()