I am trying to open a file for writing using the following:
fh = open("testfile", "w")
But I get an exception:
IOError: [Errno 17] File exists!
I have recording rights and no race conditions. Does anyone know why I am getting an error message?
Thanks.
Green source share