开发者

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 we开发者_运维技巧b urls?


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

To actually fetch urls & data, you need urllib2.


Hope this help :

http://docs.python.org/library/urlparse.html

http://docs.python.org/library/urllib2.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜