07 2012 档案
摘要:搜集了几篇关于Python中文编码的博文,以备以后的查找: 1.程序员趣味读物:谈谈Unicode编码 http://www.pconline.com.cn/pcedu/empolder/gj/other/0505/616631.html 2.字符编码笔记:ASCII,Unicode和UTF-8 http://www.ruanyifeng.com/blog/2007/10/ascii_unico...
阅读全文
摘要:使用Python爬取google的搜索结果: 1: # -*- coding: utf-8 -*- 2: import urllib2 3: import cookielib 4: 5: url = 'http://www.google.com.hk/search?sourceid=chrome&;ie=UTF-8&q=python' 6: cj = cookieli...
阅读全文
浙公网安备 33010602011771号