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

The complaints listed seem to focus on attributes / methods of a class. You can read Python’s docs, and see the methods available to a str type, for example.

To me, that’s learning the language. Learning its library would be more like knowing that the module `string` contains the function `capwords`, which can be used to - as the name suggests - capitalize (to title case) all words in a string. Hopefully, one would also know that the `str` class contains the method `upper`, so as not to confuse it with `string.capwords`.



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

Search: