title: Python SQLite: Is Commit() needed for SELECT Queries?
body: <p>I have made it a habbit that when i do <code>cur.execute()</code> functions, I do a <code>sql.commit()</code> function right after.</p>
  
  <p>Is <code>sql.commit()</code> needed if I do not modify the database (i.e. only do a <code>SELECT</code> query)?</p>
  
  <p>Here is an example:</p>
  
  <pre><code>sql = sqlite3.connect('DB.db')
  cur = sql.cursor()
  cur.execute('SELECT * FROM table')
  sql.commit()
  </code></pre>