@@ -0,0 +1,432 @@
+import time %0A%0A %0Akeyboard = Runtime.createAndStart(%22keyboard%22, %22Keyboard%22)%0Akeyboard.addListener(%22keyCommand%22, python.getName(), %22input%22)%0A%0Aon = 0%0A%0A##################################################################%0A %0A %0Adef input(cmd):%0A%0A%0A            %0A    if (cmd == %22C%22):%0A        global on %0A        on = 1%0A        while on == 1:%0A            print (on)%0A            sleep (1)%0A %0A%0A    if (cmd == %22B%22):%0A        global on %0A        on = 0    %0A

Create Exitloop.py