urllib2.splittag()

urllib2.splittag(url)[source]

splittag(‘/path#tag’) –> ‘/path’, ‘tag’.