May-14-2019, 10:36 AM
I used a file in my code
and I wanted to delete it
manually.
A message appeared saying that it was still open
in python and therefore I could not.
I used 'file.close()'
but I could still not delete it.
In the end I had to close the whole compiler in order to be able
to do so.
What should I do in order to manually delete a file without
closing the compiler?
and I wanted to delete it
manually.
A message appeared saying that it was still open
in python and therefore I could not.
I used 'file.close()'
but I could still not delete it.
In the end I had to close the whole compiler in order to be able
to do so.
What should I do in order to manually delete a file without
closing the compiler?