I'm new to python and I've got an error that i tried to solve by myself for couple of hours with no result. (I use Pycharm & SQLite).Here's my code:
Id = cur.execute("select id from abonnement where libelle=%s and prix=%s and estPackGar=%s ;" (abonnement.libelle, abonnement.prix, abonnement.estPackGar))
And this is what I get for that line:
TypeError: 'str' object is not callable
I do not have a clue about what is causing that. Any idea please?