How to execute an .sql file in pymssql,cursor.close()