文章来自《Python cookbook》. 翻译仅仅是为了个人学习,其它商业版权纠纷与此无关!
-- feynman [2004-08-11 00:45:13]
Contents
描述
...
问题 Problem
你想要从web的一个url抓取html文件
解决 Solution
urllib.urlopen 返回 a file-like object,你能调用read()
文章来自《Python cookbook》. 翻译仅仅是为了个人学习,其它商业版权纠纷与此无关!
-- feynman [2004-08-11 00:45:13]
Contents
...
你想要从web的一个url抓取html文件
urllib.urlopen 返回 a file-like object,你能调用read()
PyCkBk-10-7 (last edited 2009-12-25 07:08:41 by localhost)