摘要: # -*- coding utf-8 -*-import requestsimport matplotlib.pyplot as pltfrom wordcloud import WordCloudimport jiebaimport sysprint sys.getdefaultencoding( 阅读全文
posted @ 2017-10-23 18:03 lh459384111 阅读(132) 评论(0) 推荐(0) 编辑
摘要: # -*- coding utf-8 -*- import matplotlib.pyplot as plt from wordcloud import WordCloud import jieba text_from_file_with_apath =open('D:\python\ciyun.t 阅读全文
posted @ 2017-10-23 13:17 lh459384111 阅读(152) 评论(0) 推荐(0) 编辑
摘要: # -*- coding utf-8 -*-import requestsres =requests.get('http://www.qstheory.cn/2017-10/22/c_1121837612.htm')res.encoding ='utf-8'# print (res)# print( 阅读全文
posted @ 2017-10-23 11:57 lh459384111 阅读(164) 评论(0) 推荐(0) 编辑