Insert de données Python
import sqlite3
# python data insert
conn = sqlite3.connect('TestDB.db')
name=input("enter your name \n ")
conutryID=int(input("enter your country id \n "))
sql = f''' INSERT INTO CLIENTS(Client_Name,Country_ID,Date)
VALUES('{name}',"{conutryID}","30/3/2022") '''
conn.execute(sql)
conn.commit()
conn.close()
Clever Chamois