python newbie: some surprises

v4vijayakumar vijayakumar.subburaj at gmail.com
Thu May 8 03:06:06 EDT 2008


When I started coding in python, these two things surprised me.

1. my code is inconsistently indented with the combination of tabs and
spaces. Even lines looked intended, but it is not.

2. python requires to pass "self" to all instance methods

and I missed ":" often. :)



More information about the Python-list mailing list