Im doing a quiz for my coursework and im dont know how to display results of my msql query as a radio button. I know how to display my results within python traceback but nothing else. Im using pyqt and mysql to code but im dont know how to to display within a label and or a radio button. Heres the code which displays the results of the mysql query in python traceback.
def Showquestions(self):
mycursor.execute("SELECT*FROM questiontable")
mylist=mycursor.fetchall()
for x in mylist:
print(x)