摘要:
import urllib proto, rest = urllib.splittype("http://www.baidu.com/11/12.htm") host, rest = urllib.splithost(rest) print host host, port = urllib.splitport(host) if port is None: port = 80 print port 阅读全文
posted @ 2011-09-18 22:02
黄聪
阅读(3463)
评论(1)
推荐(0)

浙公网安备 33010602011771号