def mkdir(self, d, clean=False):
        if os.path.exists(d):
            if clean:
                shutil.rmtree(d)
            else:
                return
        os.mkdir(d)
Safely create a directory
dataset/ETHPy150Open NVIDIA/DIGITS/tools/download_data/downloader.py/DataDownloader.mkdir