I'm working on giving a python server a GUI with tkinter by passing the Server's root instance to the Tkinter window. The problem is in keeping information in the labels up to date.
For instance, the server has a Users list, containing the users that are logged on. It's simple enough to do this for an initial list:
string = ""
for user in self.server.Users:
string += user + "\n"
Label(master, text=string)
But that will only do it once. After that, how am I supposed to update the list? I could add an 'update users' button, but I need the list to be self-updating.