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

Or, just use the non short circuiting "&" instead of "and"



Cool, I didn't know that would work in python in this case (testing shows it does). Thanks :)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: