I have made it a habbit that when i do cur.execute() functions, I do a sql.commit() function right after.
Is sql.commit() needed if I do not modify the database (i.e. only do a SELECT query)?
Here is an example:
sql = sqlite3.connect('DB.db')
cur = sql.cursor()
cur.execute('SELECT * FROM table')
sql.commit()