Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 31, 2011 at 16:43 | comment | added | jmilloy | @SiegeX without the lambda, f.read(1) would be evaluated (returning a string) before being passed to the iter function. Instead, the lambda creates an anonymous function and passes that to iter. | |
| Aug 12, 2011 at 20:29 | comment | added | SiegeX | As a newbie to python, can you please explain why thelambda keyword is necessary here? | |
| May 28, 2010 at 15:06 | history | edited | badp | CC BY-SA 2.5 | deleted 2 characters in body |
| Apr 15, 2010 at 16:16 | history | edited | Personman | CC BY-SA 2.5 | deleted 2 characters in body |
| Mar 17, 2009 at 0:59 | history | edited | hasen | CC BY-SA 2.5 | added 11 characters in body |
| Oct 9, 2008 at 23:56 | history | edited | tzot | CC BY-SA 2.5 | Added clarification of iter(callable, rv) |
| Sep 21, 2008 at 15:00 | history | made wiki | Post Made Community Wiki byCommunityBot | ||
| Sep 19, 2008 at 14:20 | history | answered | mbac32768 | CC BY-SA 2.5 |