title: Python sqlite3 cursor has no attribute commit
body: <p>When I run this code:</p>
  
  <pre><code>path = '~/Scripts/wallpapers/single.png'
  conn = sqlite3.connect('/Users/Heaven/Library/Application Support/Dock/desktoppicture.db')
  cur = conn.cursor();
  cur.execute("insert into data values ('" + path + "');")
  cur.commit()
  </code></pre>
  
  <p>I receive the following error</p>
  
  <pre><code>AttributeError: 'sqlite3.Cursor' object has no attribute 'commit'
  </code></pre>
  
  <p>and I have absolutely no idea why. </p>