about parse a link
fredrik at pythonware.com
Fri Sep 6 08:29:59 CEST 2002
> if I have extracted the links on the page:
> on this page: there are
> how can I log the a.htm, b.htm, c.htm with the full web address?
base = "http://www.uic.edu/index.htm"
url_list = [
for url in url_list:
print urlparse.urljoin(base, url)
<!-- (the eff-bot guide to) the python standard library:
More information about the Python-list