dico = {"nom" : "Chez Fanny", "ville" : "Marseille"}
cursor.execute("""
INSERT INTO restaurants(nom, ville) 
VALUES(:nom, :ville)""", dico)