Aufwind
Aufwind

Reputation: 26258

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?

Upvotes: 10

Views: 4086

Answers (2)

Srikar Appalaraju
Srikar Appalaraju

Reputation: 73608

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

To actually fetch urls & data, you need urllib2.

Upvotes: 13

Related Questions