-
Notifications
You must be signed in to change notification settings - Fork 317
Closed
Description
import MYSQLdb
db=MYSQLdb.connet(host=" 212.1.211.51",user="U948493795_rootx",passwd=
cursor = db.cursor()
cursor.execute('SELECT*FROM.tblbooks')
numrows=int(cursor.rowcount)
linhas=cursor.fetchall)
print("Numero total de registros encontrados:", numrows)
print("\nMostrando resultdos...")
for linha in linhas:
print("-" linha[0])
print('-' linha[1])
Metadata
Metadata
Assignees
Labels
No labels