Faire un fichier txt puis écrire

#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()
Clean Curlew