摘要:
f = open('news.txt','r') news = f.read() f.close() print(news) sep = '''.,?'!:"''' exclude = {'the','and','of','to','and','he','for'} # 将sep里面的字符替换为空格 for c in sep: news = news.replace(c," & 阅读全文
posted @ 2018-03-26 11:26
089-袁佳鹏
阅读(127)
评论(0)
推荐(0)

浙公网安备 33010602011771号