Hi,
When I execute in Spyder console a program where a csv file is opened, if the program stops after an error and before closing the csv file, the csv file is not closed, which is normal. But if I correct the program and launch it again, the file is not closed. If I use Windows explorer file, I can't delete, move or rename the file, it's locked and I get a message with Python is locking the file.
Previously, when I used Python console, the file was closed if I launched again a "good" program.
Then I have to exit Spyder to release the file.
Is it normal? Is there a solution to close the file without having to exit the program?
Thank you.
Jean-Louis