def _mkdir_p(abspath):
    """
    Usage:
        create the abspath
        except the abspath exist

    Param:
        abspath: the absolutly path you want to be created
    """
    try:
        os.makedirs(abspath)
    except OSError as e:
        if (e.errno == errno.EEXIST) and (os.path.isdir(abspath)):
            pass
        else: raise
def _mkdir_p ( abspath ) : try : os . makedirs ( abspath ) except OSError as e : if ( e . errno == errno . EEXIST ) and ( os . path . isdir ( abspath ) ) : pass else : raise
Usage:
        create the abspath
        except the abspath exist

    Param:
        abspath: the absolutly path you want to be created