<p dir="ltr">Hi,</p>
<p dir="ltr">Yes, but You also can open an existing file in 'append' mode. <br></p>
<p dir="ltr">Cheers,<br>
Adnan</p>
<div class="gmail_quote">On Jan 15, 2015 12:08 PM, "Abdul Abdul" <<a href="mailto:abdul.sw84@gmail.com">abdul.sw84@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello,<br><br></div>In the Python documentation, when opening the file in write mode, it mentions the following: <i>writing (truncating the file if it already exists)<br><br></i></div>What is meant by "truncating" here? Is it simply overwriting the file already existing?<br><br>Thanks.<br></div>
<br>--<br>
<a href="https://mail.python.org/mailman/listinfo/python-list" target="_blank">https://mail.python.org/mailman/listinfo/python-list</a><br>
<br></blockquote></div>