Aufwind Aufwind - 1 month ago 9
Python Question

os.path equivalent for web urls in python?

For joining, splitting and processing file and directory paths python's

os.path
modul is great. Is there an equivalent for web urls?

Answer

urlparse - Parse URLs into components, is the module for you..

To actually fetch urls & data, you need urllib2.