On Oct 31, 3:11 pm, Terry Reedy <tjre...@udel.edu> wrote:

Great, thanks.

> Zeynel wrote:
> > On Oct 31, 10:40 am, "Alf P. Steinbach" <al...@start.no> wrote:
> > Thanks! This works. But I need to close the file before read and open
> > it again with "r", otherwise I get the garbage again. Can you give me
> > the link where you got this in documentation:
>
> > "The mode 'w+' opens and truncates the file to 0 bytes, while 'r+'
> > opens the
> >>     file without truncation."
>
> > Only place i could find it was in this bug 
> > report:http://bugs.python.org/issue5061
>
> LibRef / builtin functions /open
> The entry is a full page.
>
> Get familiar with this section and the Built-in Types section.
>
> Terry Jan Reedy

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to