from urllib import urlopen html = urlopen('http://www.manluotuo.com') print (html.read())
控制台输出整个网页html的代码
from urllib import urlopen html = urlopen('http://www.manluotuo.com') print (html.read())
控制台输出整个网页html的代码
转载于:https://www.cnblogs.com/yintingting/p/6574615.html