Search using python tkinter mysql
This tutorial will teach you how to search using python Gui application connect with mysql. from tkinter import * import mysql.connector def Ok(): global myresult studname = e1.get() coursename = e2.get() fee = e3.get() mysqldb=mysql.connector.connect(host=”localhost”,user=”root”,password=””,database=”smschool”) mycursor=mysqldb.cursor() try: mycursor.execute(“SELECT * FROM record where id = ‘” + studname + “‘”) myresult = mycursor.fetchall() for x in […]
Search using python tkinter mysql Read More »