getting host and path from url

Steve Young drevil_53711 at
Fri Dec 9 19:40:25 CET 2005

Hi, this is probably an easy question but is there a way to get the host and path seperatly out of an url? 
  url =
  and i want some way of getting:
  host =
  path = /fc/world/iraq

Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list