Answers for "python loop break on keypress"

0

python loop break on keypress

try:
    while True:
        do_something()
except KeyboardInterrupt:
    pass
Posted by: Guest on February-26-2021

Python Answers by Framework

Browse Popular Code Answers by Language