Python Forum
Trouble with .after() Tkinter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble with .after() Tkinter
#5
This code will always ask the same question, i.e. the last question found, so it appears that it is not working because it puts up the same question. Add a print statement to the function to prove this to yourself.
        for question in questions:
            if question.difficulty == newDifficulty:
                newQuestion = question           
Reply


Messages In This Thread
Trouble with .after() Tkinter - by purpleicetwice - Mar-02-2019, 03:14 PM
RE: Trouble with .after() Tkinter - by Larz60+ - Mar-02-2019, 04:57 PM
RE: Trouble with .after() Tkinter - by woooee - Mar-02-2019, 06:06 PM
RE: Trouble with .after() Tkinter - by woooee - Mar-02-2019, 09:46 PM

Forum Jump:

User Panel Messages

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