0
Using Files
What would happen when I forgot to close a file after being used it?
2 odpowiedzi
+ 9
What can happen is, that some new data you have *written* to the file are missing, when file is not closed explicitely. If you use *with ...*, files will be closed automatically. The loss of some data can happen, as the new data are first put in a cache / buffer, and then flushed to the hard drive when file is closed.
+ 2
'Enter'?