My python annoyances so far

flifus at gmail.com flifus at gmail.com
Wed Apr 25 18:50:53 EDT 2007


Hi all. I'm learning python these days. I'm going to use this thread
to post, from time to time, my annoyances with python. I hope someone
will clarify things to me where I have misunderstood them.

Annoyances:

1. Underscores! What's the deal with that? Especially those double
underscores. The best answer I read on this is that the double
underscores denotes special methods that the interpreter may
automatically use. For example, 4+4 get expanded by the interpreter to
4.__add__(4).

2. There are modules, there are functions, and there are classes-
methods! Wouldn't it have been easier had everything either been a
function or a class method?




More information about the Python-list mailing list