file = io.open(test.txt,"a") file:write("hello")
两次,文件看起来像:
hellohello
但我希望它看起来像:
hello hello
file:write("hello","\n")