I have a SQLite DB which outputs the content into a tkinter grid. The problem I have is, that as soon as I use a space the output will be shown in {program brackets}.
Is there any way to formate the output?
cursor.execute('SELECT NAME from CALENDAR')
rows = cursor.fetchall()
namelist = []
for i in range(len(rows)):
namelist.append(Label(main, text=rows[i]))
namelist[i].grid(row=3+i, column=2)
Aucun commentaire:
Enregistrer un commentaire