Opening the file in writing mode

Abdul Abdul abdul.sw84 at gmail.com
Thu Jan 15 06:06:37 EST 2015


Hello,

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?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150115/0a86ca13/attachment.html>


More information about the Python-list mailing list