Nov-27-2019, 05:33 AM
(This post was last modified: Nov-27-2019, 05:34 AM by tonycstech.)
Is mainloop a function built into tkinter ? Because it seems python does not understand it by its self unless it says tkinter.mainloop()
Purpose of the loop is to display GUI.
I am trying to understand how to run 2 independent loops. In other words, i want multitasking.
I cant really paste any code because i dont understand how loops work in python.
How do make 2 loops to run at same time ?
Thansk !
Purpose of the loop is to display GUI.
I am trying to understand how to run 2 independent loops. In other words, i want multitasking.
I cant really paste any code because i dont understand how loops work in python.
while 1: print(1) while 1: print(2)This is the basic i have. I only 1 printed because only one loop runs at the time.
How do make 2 loops to run at same time ?
Thansk !