file = open('fichier_exemple.sql','a') file.write("toto \n") file.close()