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

You might be interested in the docs on the Data Model [0] to learn more about the various "dunder" (__foo__) methods. There are a ton of cool things you can do with python objects.

[0] http://docs.python.org/2/reference/datamodel.html



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

Search: