organize/utils.py
def splitglob(globstr):
    """ split a string with wildcards into a base folder and globstring """
    path = fullpath(globstr.strip())
    parts = path.parts
    for i, part in enumerate(parts):
        if unescaped_wildcard.search(part):
            return (Path(*parts[:i]), str(Path(*parts[i:])))
    return (path, '')
 split a string with wildcards into a base folder and globstring 
split a string with wildcards into a base folder and globstring
split a string with wildcards into a base folder and globstring
def splitglob(globstr):
    path = fullpath(globstr.strip())
    parts = path.parts
    for i, part in enumerate(parts):
        if unescaped_wildcard.search(part):
            return (Path(*parts[:i]), str(Path(*parts[i:])))
    return (path, '')
def splitglob ( globstr ) : path = fullpath ( globstr . strip ( ) ) parts = path . parts for i , part in enumerate ( parts ) : if unescaped_wildcard . search ( part ) : return ( Path ( * parts [ : i ] ) , str ( Path ( * parts [ i : ] ) ) ) return ( path , '' )
split a string with wildcards into a base folder and globstring
split a string with wildcards into a base folder and globstring
""" split a string with wildcards into a base folder and globstring """
globstr