+ 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

21st May 2019, 5:32 PM
Clueless Coder
Clueless Coder - avatar
3 Respostas
+ 5
@staticmethod def select(): c.execute('SELECT * FROM first_table;') data = c.fetchall() print(*data) https://code.sololearn.com/cYifw0WoxZ99/?ref=app
21st May 2019, 5:49 PM
Anna
Anna - avatar
+ 7
Thanks Anna
21st May 2019, 6:14 PM
Clueless Coder
Clueless Coder - avatar
0
How can I insert data to sqlite database through a QLineEdit?
23rd May 2019, 4:30 PM
Adnane Adnane
Adnane Adnane - avatar