Hello all,
I'm currently using Thonny to write and execute my Python scripts in, and
would like to be able to exit a loop by me pressing a key or button
somewhere, so I can terminate the script graciously (run some cleaning-up
code).
Does Thonny offer any such thing (apart from its way-too-crude "stop"
button I mean) ?
If not, is there any other way ? Directly reading the keyboard directly
requires root, and I've not seen any kind of non-blocking(!) "OK" message
boxes.
Regards,
Rudy Wieser
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|