try
http://www.devshed.com/c/a/Python/Using-...in-Python/
http://www.tutorialspoint.com/sqlite/sqlite_python.htm
sql = "INSERT INTO network_table VALUES (?, ?, ?, ?)" ## () makes insert data a tuple cursor.execute(sql, (src_IP,src_domain,dst_IP,dst_domain)) <-- this is a tupleLinks to SQL tutorials http://zetcode.com/db/sqlitepythontutorial/
http://www.devshed.com/c/a/Python/Using-...in-Python/
http://www.tutorialspoint.com/sqlite/sqlite_python.htm