Python Forum
Button animation is not working in a branch
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Button animation is not working in a branch
#4
it is simply ugly to compare a boolean variable to True or False like you do. Don't do it, follow @metullburr's advise.
This way you will also avoid stupid mistakes like comparing condition to some global? variable true. I say global variable, but it well may be in the tweepy code missing in the example. Because otherwise the interpreter will raise NameError.
If you didn't get it so far - it is True, not true
Reply


Messages In This Thread
RE: Button animation is not working in a branch - by buran - Jan-15-2018, 11:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] Button clicked not working catlessness 10 8,436 Oct-21-2021, 12:36 PM
Last Post: catlessness
  Closing window on button click not working kenwatts275 4 3,880 May-03-2020, 01:59 PM
Last Post: deanhystad
  [PySimpleGui] How to alter mouse click button of a standard submit button? skyerosebud 3 5,087 Jul-21-2019, 06:02 PM
Last Post: FullOfHelp

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020