1 Answer
+ 1
You can find many useful answers here:
https://stackoverflow.com/questions/2023608/check-what-files-are-open-in-JUMP_LINK__&&__python__&&__JUMP_LINK/7142094
In any case it is always a good practice to close file handlers when you are done with them.