📜  python writelignes - Python 代码示例
📅  最后修改于: 2022-03-11 14:47:24.957000             🧑  作者: Mango
代码示例1
of = open("test_file.txt", "w")
list_elem = ["test", "test2"]
of.writelines(list_elem)
of.close()