I have a function that displays data from a table when my window first pops up:
def query(): conn = sqlite3.connect(\'movie_catalog.db\') # Create cursor