code: def _create_formatters(cp):
      """Create and return formatters"""
      flist = cp.get("formatters", "keys")
      if not len(flist):
          return {}
      flist = flist.split(",")
      flist = _strip_spaces(flist)
      formatters = {}
      for form in flist:
          sectname = "formatter_%s" % form
          opts = cp.options(sectname)
          if "format" in opts:
              fs = cp.get(sectname, "format", 1)
          else:
              fs = None
          if "datefmt" in opts:
              dfs = cp.get(sectname, "datefmt", 1)
          else:
              dfs = None
          c = logging.Formatter
          if "class" in opts:
              class_name = cp.get(sectname, "class")
              if class_name:
                  c = _resolve(class_name)
          f = c(fs, dfs)
          formatters[form] = f
      return formatters
  
imports: import cStringIO
  import errno
  import io
  import logging
  import logging.handlers
  import os
  import re
  import socket
  import struct
  import sys
  import traceback
  import types
  from SocketServer import ThreadingTCPServer, StreamRequestHandler
label_desc: Use image node_id 5 for calling a global function with example usage: _create_formatters(cp) and returns: formatters, dict