[Tutor] File mode r+
shitizb at yahoo.com
Sat Sep 24 10:11:58 CEST 2005
I want to update a textfile using the r+ file mode.
contents of file:
my scripts is:
This should replace the third line with 1234.
However it does nothing.
Moreover the script:
does replace the first line with 1234.
could anyone explain what is happening?
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Tutor