title: Sqlite insert query not working with python?
body: <p>I have been trying to insert data into the database using the following code in python:</p>
  
  <pre><code>import sqlite3 as db
  conn = db.connect('insertlinks.db')
  cursor = conn.cursor()
  db.autocommit(True)
  a="asd"
  b="adasd"
  cursor.execute("Insert into links (link,id) values (?,?)",(a,b))
  conn.close()
  </code></pre>
  
  <p>The code runs without any errors. But no updation to the database takes place. I tried adding the <code>conn.commit()</code> but it gives an error saying module not found. Please help?</p>