(self, filename, content, binary=False)
Appends given content to given filename.
Appends given content to given filename.
Appends given content to given filename .
def append(self, filename, content, binary=False):
        """Appends given content to given filename."""

        self._raise_if_none()
        fn = path_join(self.path, filename)

        if binary:
            flags = 'ab'
        else:
            flags = 'a'

        with open(fn, 'a') as f:
            f.write(content)
            return True
def append ( self , filename , content , binary = False ) : self . _raise_if_none ( ) fn = path_join ( self . path , filename ) if binary : flags = 'ab' else : flags = 'a' with open ( fn , 'a' ) as f : f . write ( content ) return True