WRITING FILES

Sergio Boix Moriano smoriano at sicon.net
Thu Oct 19 09:45:40 EDT 2000


Hi all,

    I want to make a procedure to append lines to a file, in the
position i want.

    I've tried to do this opening the file in mode "r+", but if i do
this, it writes in the document from a position x, but overwritting the
text that is in the document. If i open de document with (a+) it writes
always at the end of the document.

    What i'm doing bad?







More information about the Python-list mailing list