Unable to close/delete file from python or OS

116 views Asked by At

I am trying to delete an excel file from my computer but it will not let me, and keeps saying that the file is open/in use by python. I have tried using f.close() methods and os.remove() with no luck. I can't find any temporary files in the Excel default local file location either. I really am at a loss as to why I am unable to close or delete this file through python or otherwise.

0

There are 0 answers