#NEWLINE# def execute_sql_from_file( self , filepath ) : #NEWLINE# #INDENT# 'Executes a SQL statement, which was taken from the file.\n\n        :param filepath: path to file.\n        ' #NEWLINE# with open ( filepath , 'r' ) as f : #NEWLINE# #INDENT# sql = f . read ( ) #NEWLINE# result = self . connection . executescript ( sql ) #NEWLINE# #UNINDENT# return result