摘要: 去掉某个文档里面所有的空格和字符串:comment_text=comment_text.replace(' ', '').replace("\t","").replace("\n","").strip() jieba把中文字符串变成了list,而string.join()把list变成,一个一个加进 阅读全文
posted @ 2018-05-17 18:20 Gaoyongxian666 阅读(110) 评论(0) 推荐(0)