bakery/bakery.py
def mkdir_p(path):
    """ Create intermediate directories as required.
    """
    try:
        os.makedirs(path)
    except OSError as exc: # Python >2.5
        if exc.errno == errno.EEXIST:
            pass
        else:
            raise
 Create intermediate directories as required.
    
Create intermediate directories as required.
Create intermediate directories as required .
def mkdir_p(path):
    try:
        os.makedirs(path)
    except OSError as exc: 
        if exc.errno == errno.EEXIST:
            pass
        else:
            raise
def mkdir_p ( path ) : try : os . makedirs ( path ) except OSError as exc : if exc . errno == errno . EEXIST : pass else : raise
Create intermediate directories as required.
Create intermediate directories as required .
""" Create intermediate directories as required.
    """ # Python >2.5
path