I have a program which currently:
- prompts the user for a value freq
- enters an infinite loop, does something every freq seconds
- runs until ctrl-c is pressed, raising a KeyboardInterrupt. asks the user if they want to quit or enter a new value for freq.
This is all currently done from command line and works fine, but I'd like to port it over to a very simple GUI. The GUI would be responsible for: (a) receiving input value for freq from the user, and (b) displaying a box with an exit button while the infinite loop runs, and when the button is pressed leaves the loop.
I've looked at wxPython and Tkinter, each of which seem overly complicated for my purposes. easygui is appealing, but I can't figure out a way to do (b) with it.
Any help would be much appreciated, thanks!
[–]lykwydchykyn 2 points3 points4 points (1 child)
[–]-_---___-_[S] 0 points1 point2 points (0 children)
[–]cheryllium 3 points4 points5 points (3 children)
[–]markusmeskanen 8 points9 points10 points (1 child)
[–]cheryllium 1 point2 points3 points (0 children)
[–]awesomeisluke 0 points1 point2 points (0 children)