Hi, this is probably an easy question but is there a way to get the host and path seperatly out of an url?

Example:

url = "">
and i want some way of getting:

host = http://news.yahoo.com
and
path = /fc/world/iraq

thanks.

-Steve
 


Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to