Network Python

importĀ urlparse
printĀ urlparse.urlsplit('http://www.python.org:80/faq.cgi?src=fie')