def append_text ( self , txt ) : with open ( self . fullname , "a" ) as myfile : myfile . write ( txt )
how to add something to a text file in python
adds a line of text to a file
def append_text(self, txt):
        """ adds a line of text to a file """
        with open(self.fullname, "a") as myfile:
            myfile.write(txt)