Il 14/mag/2015 21:32, "Diego Barrera" <diegonebarr...@yahoo.it> ha scritto:
> Se prima del try ti crei la stringa? > > curr_sql = sql % (var1, var2) > try: > curs.execute(curr_sql) > except: > print curr_sql > > Magari mettici pure l'errore generato.. bobby tables. © -- |:**THE BEER-WARE LICENSE** (Revision 42): | <ca...@miron.it> wrote this mail. As long as you retain | this notice you can do whatever you want with this stuff. | If we meet some day, and you think this stuff is worth it, | you can buy me a beer in return. | --Carlo Miron :
_______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python