code: def buttonPressedCallback(s):
      global global_lastButtonPressed
      global_lastButtonPressed = s
  
imports: from __future__ import print_function
  from PIL import ImageTk
  from cntk_helpers import *
label_desc: Use image node_id 1 for calling a global function with example usage: buttonPressedCallback(s) without return types