📅  最后修改于: 2022-03-11 14:47:19.486000             🧑  作者: Mango
#open text file
text_file = open("C:/Users/rowgi/Jupyter/Sentimental/Better/pwords.txt", "w")
#write string to file
text_file.write(pwords)
#close file
text_file.close()