Example #1
0
def make_out_dirs(out_dir):
  for direct in psettings.DIRS:
    file_util.makedirs_quiet(os.path.join(out_dir, direct))
Example #2
0
def ensure_base_dir_exists(path): 
  if os.path.isdir(path):
    return
  else:
    # print "The directory: %s doesn't exist." % path
    file_util.makedirs_quiet(path)