def write(self, content):
        """Save content on disk"""
        with io.open(self.target, 'w', encoding='utf-8') as fp:
            fp.write(content)
            if not content.endswith(u'\n'):
                fp.write(u'\n')
def write ( self , content ) : with io . open ( self . target , 'w' , encoding = 'utf-8' ) as fp : fp . write ( content ) if not content . endswith ( u'\n' ) : fp . write ( u'\n' )
Save content on disk