I created a file using the write command, and for some reason when I try to open it with my text editor after, it comes up with this message:
"The document python_file.rtf could not be opened"
Here's exactly what I did:
infile=open("python_file.rtf","w")
infile.write("insert string here")
infile.close()
Then when I try to open the file (I can find it in documents and everything) it gives me that error message. Can anyone tell me why? I am very new to programming.