class_docstr: A worker manager which spawns a new thread for each worker. 
docstr: Deletes a list of directories and creates new ones. 
docstr_tok: ["Deletes","a","list","of","directories","and","creates","new","ones","."]
code: def _delete_and_create_dirs(cls, list_of_dir_names):
      """Deletes a list of directories and creates new ones."""
      for dir_name in list_of_dir_names:
          if os.path.exists(dir_name):
              shutil.rmtree(dir_name)
          os.makedirs(dir_name)
  
imports: from __future__ import print_function
  from __future__ import division
  from argparse import Namespace
  from multiprocessing import Process
  import numpy
  import os
  import pickle
  import shutil
  import time
  from .exd_utils import EVAL_ERROR_CODE
label_desc: Use image node_id 4 for calling the MultiProcessingWorkerManager obj's underlying member method code with example usage: obj._delete_and_create_dirs(cls, list_of_dir_names) without return types