2018年4月17日
摘要: 1. 将新闻的正文内容保存到文本文件。 def writeNewsDetail(content): f=open('gzcc.txt','a',encoding='utf-8') f.write(content) f.close() 2. 将新闻数据结构化为字典的列表: 单条新闻的详情-->字典ne 阅读全文
posted @ 2018-04-17 17:57 123王展洪 阅读(146) 评论(0) 推荐(0) 编辑