You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 31, 2025. It is now read-only.
try:
# Drone code
except KeyboardInterrupt:
# Safe land code
The KeyboardInterrupt exception does not run as ctrl+c kills the program regardless. My students are using Mu to program parrot mambos and I need an emergency stop for them. With Idle we'd use ctrl+c and handle the KeyboardInterrupt to land the drone safely. Unfortunatley in Mu it immediately exits the program instead, leaving the drone floating in mid-air.