def on_start(self): # bind to the keyboard to listen to # specific key codes from utils.keyboard import hook_keyboard hook_keyboard() # let's load our first screen load_screen('StartupScreen')