code: def write(s):
      with open(filename_tmp, "w") as f:
          f.write(str(s))
  
      # Atomic rename to prevent race conditions from reader
      os.rename(filename_tmp, filename)
  
label_desc: Use image node_id 1 for calling a global function with example usage: write(s) without return types