Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help understand loops
#1
I have 3 loops that i am confused about.
tkinter.mainloop()
Is this loop specifically for tkinter module and it will run independent from the rest of the code ?
mainloop()
is this main loop that runs independent of any modules that are currently running ?
while 1:
    code here
What kind of loop is that then ?

How to exit or terminate tkinter.mainloop() or mainloop(), with a break ? Where in the code would i place it ?
Thanks !
Reply


Messages In This Thread
Help understand loops - by tonycstech - Nov-27-2019, 04:43 AM
RE: Help understand loops - by Malt - Nov-27-2019, 05:06 AM
RE: Help understand loops - by tonycstech - Nov-27-2019, 05:33 AM
RE: Help understand loops - by snippsat - Nov-27-2019, 06:04 AM
RE: Help understand loops - by buran - Nov-27-2019, 06:16 AM
RE: Help understand loops - by tonycstech - Nov-27-2019, 07:10 AM
RE: Help understand loops - by buran - Nov-27-2019, 07:16 AM
RE: Help understand loops - by tonycstech - Nov-27-2019, 08:43 AM
RE: Help understand loops - by snippsat - Nov-27-2019, 01:32 PM
RE: Help understand loops - by tonycstech - Nov-30-2019, 06:21 AM

Forum Jump:

User Panel Messages

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