Posts by Cris • 11 points
1 post
-
1
votes2
answers1978
viewsA: How to count the number of "Rows" in a python table
You could do that too: cursor.execute(f'SELECT * FROM jogadores') count = len(cursor.fetchall()) fetchall() takes all the rows of your table and puts them in a tuple, all of them within a list. So…