(url)
return words[0], words[1:]
splitattr('/path;attr1=value1;attr2=value2;...') ->
        '/path', ['attr1=value1', 'attr2=value2', ...].
splitattr('/path;attr1=value1;attr2=value2;...') ->
        '/path', ['attr1=value1', 'attr2=value2', ...].
splitattr ( / path ; attr1 = value1 ; attr2 = value2 ; ... ) - > / path [ attr1 = value1 attr2 = value2 ... ] .
def _splitattr(url):
    """splitattr('/path;attr1=value1;attr2=value2;...') ->
        '/path', ['attr1=value1', 'attr2=value2', ...]."""
    words = url.split(';')
    return words[0], words[1:]
def _splitattr ( url ) : words = url . split ( ';' ) return words [ 0 ] , words [ 1 : ]