Appending content to a file


#1

Hi

I trying to figure out, if there is any “append to file” function in the file-system module?

Right now, I’m reading in the file content, appending the new content to the end of it, and then writing it back.
That works, but it just seems a little inefficient to me? Thinking I could just get a pointer to the end of the file, and start writing from there.


#2

This is one I’m also trying to figure out - appending to a log file.