1
stillwater 2013-11-03 13:04:54 +08:00 1
list comprehension
|
2
laskuma OP @stillwater 感谢!
|
3
mkeith 2013-11-03 13:41:32 +08:00 1
texts = []
for document in documents: for word in document.lower().split(): if word not in stoplist: texts.append(word) |
4
subpo 2013-11-03 13:47:40 +08:00 1
好像一下子知道pythoner推崇的pythonic是什么意思了
|