Reputation: 370
Python Tkinter label cause window to say not responding when i use it more than once in 5 seconds or so.
Here is my code i am calling it with the variable data which is just a basic string
def print_data(data):
L1 = Tkinter.Label(app, text="You: " + data)
L1.pack()
Upvotes: 0
Views: 137
Reputation: 370
I solved the issue i was running the script externally to my main script. I was calling the print data script without calling mainloop(). Thanks everyone :)
Upvotes: 2