Message121711
FWIW, I find the "with" variant much easier to read than
>>> words = re.findall('\w+', open('hamlet.txt').read().lower())
Too many operations in one line. It would be even better with
>>> words = re.findall('\w+', hamlet_text.lower()) |
|
Date |
User |
Action |
Args |
2010-11-20 18:43:14 | belopolsky | unlink | issue10461 messages |
2010-11-20 18:32:27 | belopolsky | set | recipients:
+ belopolsky, georg.brandl, rhettinger, terry.reedy, ezio.melotti, eric.araujo, eli.bendersky, SilentGhost, docs@python |
2010-11-20 18:32:26 | belopolsky | link | issue10461 messages |
2010-11-20 18:32:26 | belopolsky | create | |
|