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

Gotcha! In python there is a `split_at` function for this in the more-itertools package, but I don't think there is a concise way to do it in the stdlib.


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

Search: