pojawia się błąd, gdy uruchomiony ten kod:sqlite3.Warning: Można wykonać tylko jedno oświadczenie w czasie
import sqlite3
user_name = raw_input("Please enter the name: ")
user_email = raw_input("Please enter the email: ")
db = sqlite3.connect("customer")
cursor=db.cursor()
sql = """INSERT INTO customer
(name, email) VALUES (?,?);,
(user_name, user_email)"""
cursor.execute(sql)
Dlaczego tak się dzieje?
Od kiedy użyłem sqlite3 w Pythonie, pamiętam kwerendy i parametry mające być odsunięte, a nie pojedynczy łańcuch. Może spróbuj tego? – Patashu