code: def write_pickle(file_name, data):
      print(f"writing pickle {file_name}...")
      with open("filename.pickle", "wb") as handle:
          pickle.dump(data, handle, protocol=pickle.HIGHEST_PROTOCOL)
  
imports: import json
  import pickle
  import os.path
label_desc: Use image node_id 4 for calling a global function with example usage: write_pickle(file_name, data) without return types