in reply to Re: very basic, just beginning
in thread very basic, just beginning

Your code doesn't do what is asked. That one liner will append a newline to the end of the file.