I recently installed Anaconda, and am using it to run Idle.
I'm trying to figure out file I/O. I have a file created -
file = file.open('output.txt', 'w')
I wrote to the file like so -
file.write('test')
Idle spit out '4' (1 for each character, I'm guessing).
But I don't know where idle created the file. I checked the Anaconda folder, and I checked the idlelib folder in Anaconda, but there was no file 'output.txt' in either.
So where did Idle create the file? Or did it only create it in memory, and there's more I need to do to finalize and output the file?