📅  最后修改于: 2022-03-11 14:46:57.797000             🧑  作者: Mango
file = open("YOUR TEXT FILE.txt", "w") #w for clear all txt and type and a for append
file.write("hi" + \n) #\n for newlie optional
file.close() #to close file
#Discord: Fighter x Yt#6699 ( dm for questions )