code: def appendConfigFile(data, fname):
      s = genString(data)
      with open(fname, "at") as fd:
          fd.write(s)
  
file_path: pyqtgraph/pyqtgraph/configfile.py
imports: import datetime
  import os
  import re
  import sys
  from collections import OrderedDict
  import numpy
  from .None import units
  from .colormap import ColorMap
  from .Point import Point
  from .Qt import QtCore
label_desc: Use image node_id 3 for calling a global function with example usage: appendConfigFile(data, fname) without return types