Network Python

importĀ urlparse
printĀ urlparse.urlunsplit(urlparse.urlsplit('http://www.rntsoft.com/path/a?'))