Guest User

123123sadasd

a guest
Dec 13th, 2019
94
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cursor.execute(
  2. "CREATE TABLE IF NOT EXISTS records(시행횟수INTEGER PRIMARY KEY AUTOINCREMENT, 정답갯수 INTEGER, 실행시간 text, 기록시간 text)"
  3. )
  4.  
  5. cursor.execute(
  6. "INSERT INTO records('cor_cnt', 'record', 'regdate') VALUES (?, ?, ?)",
  7. (
  8. cor_cnt, et, datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S'),
  9. )
  10. )
RAW Paste Data