📜  文本文件到单词生成器 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:18.483000             🧑  作者: Mango

代码示例1
# First, line is created for every line in page. Then, word is created for every word in
# line.split()

page_words = (word  for line in page  for word in line.split())