Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Great, first() comes part of more_itertools !


`more_itertools` is definitely on my shortlist of things I wish were in the Python standard library. (The list of things I'd like to see cut out, is probably considerably longer. But that's mainly on aesthetic principles; it's probably not creating a significant maintenance burden.)

And yet somehow I keep forgetting about it in the exact moments when it would probably make my life easier.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: