<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def on_key_press(self, symbol, modifiers):

 """
 Pyglet specific key press callback.
 Forwards and translates the events to the example
 """

        self.example.key_event(symbol, self.keys.ACTION_PRESS)