Hacker News new | past | comments | ask | show | jobs | submit login

In this case (checking that process(input) == output), itertools.izip_longest is probably that right solution, unless there's an out-of-band way to know that inputs.txt is the same length as outputs.txt.



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

Search: