urllib2.splitattr()

urllib2.splitattr('/path;attr1=value1;attr2=value2;...')[source]

‘/path’, [‘attr1=value1’, ‘attr2=value2’, ...].