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

I like how it teaches me things about Python that I didn't know. Just in the example, I didn't know about Path.read_text or str.startswith(<tuple>).


I didn't know about read_text() either and I was even somewhat embarrassed when I looked it up in the docs and discovered that it (and its bytes/write counterparts) were added in 3.5 which is basically forever ago.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: