hi,
I have a file text:
Code:
hello
house
sunrise
down
I need change the first line to "goodnight". But how do I have to open file? in append mode it it goes at the end; out mode it'll destroyed.....
thanks