Re: imap vs map

2010-03-05 Thread Arnaud Delobelle
mk writes: > Hello everyone, > > I re-wrote more "slowly" an example at the end of > http://wordaligned.org/articles/essential-python-reading-list > > > This example finds anagrams in the text file. > > > from itertools import groupby, imap > from operator import itemgetter > > from string i

imap vs map

2010-03-05 Thread mk
Hello everyone, I re-wrote more "slowly" an example at the end of http://wordaligned.org/articles/essential-python-reading-list This example finds anagrams in the text file. from itertools import groupby, imap from operator import itemgetter from string import ascii_lowercase, ascii_up