I'm using Python to create a table through SQLite3, I'm getting told the table has been created in the interpreter but when looking at the table in cmd, there's no such table. Here's my code:
import sqlite3 as db
conn = db.connect('test.db')
cursor = conn.cursor()
cursor.execute("create table films(title text, year text, director text)")
print("tables added")
In the interpreter I get:
>>> ================================ RESTART ================================
>>>
tables added
But when viewing the database through SQLite in cmd I get told:
Error: no such table: films