def mkdir_p(path):
    try:
        os.makedirs(path)
    except OSError as exc:
        if (exc.errno == os.errno.EEXIST):
            pass
        else:
            raise
def mkdir_p(path):
    try:
        os.makedirs(path)
    except OSError as exc:
        if (exc.errno == os.errno.EEXIST):
            pass
        else:
            raise