Mega Code Archive

 
Categories / Python / Network
 

Split up a URL of the form http

url = raw_input('Please enter the URL: ') domain = url[11:-4] print "Domain name: "+ domain