0
holen Wie kann ich mehr Daten nach select Finish (EOF) zeigen aber mehr Daten einfügen:Mysql Python eof dann zurück nach mehr Daten
import MySQLdb
import MySQLdb.cursors
cnx = MySQLdb.connect(user="user",
passwd="password",
db="mydb",
cursorclass = MySQLdb.cursors.SSCursor
)
cursor = cnx.cursor()
cursor.execute("SELECT * FROM individual_data")
while FOREVER:
row = cursor.fetchone()
if row is not None:
print row