I have a sqlite database with a table with following columns :
id(int) , name(text) , dob(text)
I want to insert following dictionary to it
If, for example, c = conn.cursor(), and your dictionary is named dict and your table tablename, then you can write
c = conn.cursor()
dict
tablename
c.execute('insert into tablename values (?,?,?)', [dict['id'], dict['name'], dict['dob']])
Which will insert the elements of the dictionary into the table as you require.