SQLite3 Not Displaying Tables | Sololearn: Learn to code for FREE!

+6

SQLite3 Not Displaying Tables

How can I make SQlite display the table in the console? I haven't got any errors so I don't know why it's not working. https://code.sololearn.com/clyzr9ZAxqMt/?ref=app

5/21/2019 5:32:48 PM

Clueless Coder

3 Answers

New Answer

+5

@staticmethod def select(): c.execute('SELECT * FROM first_table;') data = c.fetchall() print(*data) https://code.sololearn.com/cYifw0WoxZ99/?ref=app

+7

Thanks Anna

0

How can I insert data to sqlite database through a QLineEdit?