Python Forum

Full Version: multi-processing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've created a GUI with tkinter where you can enter 5 inputs and send them whenever you want by pressing a button. Now I want to give a limit of time (like 1 minute) to enter these 5 inputs so I have to create a timer and at the end of the cooldown the inputs will be sent automatically. I'm not sure how can I do this: I think I have to create something like multi-threading or multi-processing but anyway I don't have any idea of how they work. Can someone give me some tips or direct me to a guide? Thanks.
Use after() to call a function which sends the inputs and then will quit tkinter (or destroy the Frame containing the Entry widgets) when the allotted time has passed. http://effbot.org/tkinterbook/widget.htm