code: def createDirIfNeeded(dirname):
      try:
          os.mkdir(dirname)
      except:
          pass
  
file_path: atspy/atspy/TS/Utils.py
imports: import sys, os
  from functools import partial
label_desc: Use image node_id 1 for calling a global function with example usage: createDirIfNeeded(dirname) without return types