code: def write(self, s):
      self.w.value = s
  
imports: import ipywidgets
  from IPython import get_ipython
label_desc: Use image node_id 3 for calling the PrinterX obj's underlying member method code with example usage: obj.write(s) without return types