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

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.


raspberrypi



Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code