URL Split : URL « Network « Python






URL Split

URL Split
 
import urlparse

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

           
         
  








Related examples in the same category

1.Split up a URL of the form http://www.something.com
2.URL joinURL join
3.URL unsplitURL unsplit
4.URL unsplit and splitURL unsplit and split
5.Open a URL and read a web page
6.URL open and read