[issue5351] Python tutorial error

Tsue report at bugs.python.org
Mon Feb 23 14:45:35 CET 2009


New submission from Tsue <tsuedesu at gmail.com>:

Hi,

Dont know if this is the right place for this kind of bug report. I just
started with python last week, so I've been using the Built in tutorial.
However, I came across a major issue, and though it took me a while, I
figured it out.

The excersise on Reading and Writing Files isnt very clear on the object
f. And it isnt even stated, that the use of 'w' in the code will
actually over right the file, not append to it. Which didnt seem
logical, but I guess thats why 'r+' is there.

Please correct this in the docs, its a bit frustrating for a nooob.

----------
components: None
messages: 82628
nosy: Tsuedesu
severity: normal
status: open
title: Python tutorial error
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5351>
_______________________________________


More information about the Python-bugs-list mailing list