I'm trying example listed in How do I connect to a MySQL Database in Python?
When I try to execute the program in Python 3.0 GUI I receive error for last print statement
for x in range(0,numrows):
row = cursor.fetchone()
print row[0], "-->", row[1]
Error is Invalid Syntax for row[0]
Any Pointers would be helpful.
Thanks, Siva