

def mkdirs(fname):
    if (os.path.exists(fname) or (fname == '')):
        return
    (base, file) = os.path.split(fname)
    mkdirs(base)
    os.mkdir(fname)

dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_mhlib.py mkdirs/original