Network Python

import urlparse
print urlparse.urlunsplit(('http','www.python.org:80', '/faq.cgi','src=fie',''))