0
Why is closing a file needed?
After opening a file, writing the code, they say you should close it, but I've written a few bits and it seems to be functioning just fine. So why close a file?
2 Respostas
+ 4
I could never have explained it this well
https://stackoverflow.com/questions/25070854/why-should-i-close-files-in-JUMP_LINK__&&__python__&&__JUMP_LINK#25070939
+ 1
Hyxis
Here is two example to understand why we need to close file.
https://code.sololearn.com/crUScLkCl63q/?ref=app
https://code.sololearn.com/cLYDz5n3OCVy/?ref=app