开发者

os.path equivalent for web urls in python?

开发者 https://www.devze.com 2023-03-27 03:49 出处:网络
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 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

精彩评论

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