Posted by s1m0n on 09/14/07 18:33
J.O. Aho a couché sur son écran :
> s1m0n wrote:
>> Hi everybody,
>>
>> I would like to write a simple code to add some text at the begining of
>> a file without erase the other data.
>
> Use append instead, 'a', this will add new lines to the bottom instead of at
> the first position in the file (as long as you don't read ahead).
Thanks to both of you.
--
++
Simon
--------
>> http://latox.free.fr/3d/
Navigation:
[Reply to this message]
|