标签:style blog http color ar div sp log on
urlparse分解URL
1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 4 from urlparse import urlparse 5 6 url = ‘http://www.baidu.com‘ 7 8 parsed = urlparse(url) 9 10 print parsed
标签:style blog http color ar div sp log on
原文地址:http://www.cnblogs.com/lhyz/p/3969438.html