#!/usr/bin/python import urllib google=urllib.urlopen('http://www.google.com') print'http header:/n',google.info() print'http status:',google.getcode() print'url:',google.geturl() for line in google: print line google.close()
posted on
2011-07-08 22:10孤独的猫
阅读(399)
评论(0)
编辑收藏举报