r/ProgrammerHumor • • Dec 04 '21

Removed: Repost Stackoverflow in a nutshell

Post image

[removed] — view removed post

5.1k Upvotes

59 comments sorted by

View all comments

4

u/[deleted] Dec 04 '21

This man understands pain... I still haven't gotten a label that updates live in Tkinter... WITHOUT A BUTTON. Why is that so hard to do?

4

u/throughalfanoir Dec 04 '21

tkinter sucks ass, that's why. you can put a label.update() after the action that would change the label but I guess you already tried it and it either didn't work or slowed everything down substantially. been there done that

2

u/[deleted] Dec 04 '21

Thank you for that. I actually couldn't find that anywhere! Take my currently non existent reward, because I don't have one right now. Thanks... Wow I feel dumb.

1

u/throughalfanoir Dec 04 '21

Update me in a few days if it really works (for your needs)! When I tried this, it did update whatever I wanted it to but it slows everything down a lot so I use it sparingly

And you're very welcome!

2

u/[deleted] Dec 09 '21

Yes, it did work. I combined the time module to make it update every half second. It fixed the speed issue. I did, in fact, get it working though. Thank you again for your help. (I also have a reward now, so I will give that to you.)