摘要: import codecs f = codecs.open('test.txt', 'w', 'utf-8') f.write('中文') f.close() 运行结果: 阅读全文
posted @ 2015-08-18 16:16 蒙面 阅读(2385) 评论(0) 推荐(0)
摘要: 豆瓣电影主页上爬到了如下url: href=""http://movie.douban.com/subject/26289144/?from=showing"" href=""http://movie.douban.com/subject/26289144/?from=showing"" href=""h... 阅读全文
posted @ 2015-08-18 14:26 蒙面 阅读(630) 评论(0) 推荐(0)