code: def mkdir_or_exist(dir_name, mode=0o777):
      if dir_name == "":
          return
      dir_name = osp.expanduser(dir_name)
      os.makedirs(dir_name, mode=mode, exist_ok=True)
  
file_path: PaddleSeg/contrib/RSSegBenchmark/data/prepare_isaid.py
imports: import argparse
  import glob
  import os
  import os.path
  import shutil
  import tempfile
  import zipfile
  import cv2
  import numpy
  from tqdm import tqdm
  from PIL import Image
label_desc: Use image node_id 1 for calling a global function with example usage: mkdir_or_exist(dir_name, mode) without return types