Opening the file in writing mode

Abdul Abdul abdul.sw84 at
Thu Jan 15 12:06:37 CET 2015


In the Python documentation, when opening the file in write mode, it
mentions the following:

*writing (truncating the file if it already exists)*
What is meant by "truncating" here? Is it simply overwriting the file
already existing?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list