Edit Full Screen Copy code 1# Keep the main thread alive until the user terminates the script 2while True: 3 time.sleep(1)