title: Writing to the end of a text file in python 3
body: <p>I'm currently working on a bit of code that requires me to keep records of the outcome.
  However, at the minute, the code I'm using only overwrites the document, rather than adding on.
  What can I write to add something to the end of a text document?</p>