Python 2.7 Tkinter print to text from MySQL - Raspberry Pi Forums
hello
i've got simple select mysqldb , can see in tkinter window.
unorganized , know how make empty fields how populate them mysql select ?
print mysqldb using print row[0], row[1] ...
printed in terminal , somehow want fields.
example welcome
i've got simple select mysqldb , can see in tkinter window.
unorganized , know how make empty fields how populate them mysql select ?
print mysqldb using print row[0], row[1] ...
printed in terminal , somehow want fields.
example welcome
sounds need multi-list box
http://code.activestate.com/recipes/522 ... er-widget/
when need update gui table following
1. query database
2. clear current gui table
3. iterate through each result query , add new element in list.
i've done sqlite same approach work mysql.
http://code.activestate.com/recipes/522 ... er-widget/
when need update gui table following
1. query database
2. clear current gui table
3. iterate through each result query , add new element in list.
i've done sqlite same approach work mysql.
raspberrypi
Comments
Post a Comment