Top 10 Language Constructs (Phyton)

tgdeveloper at my-deja.com tgdeveloper at my-deja.com
Fri Jul 14 12:33:29 EDT 2000


For me the top language constructs, in terms of being useful in daily work
are:

1. dictionaries

2. lists / tuples

3. for item in list:

4. "blah blah %s blah %d blah" % (word, number)

5. exception handling (try/except/raise etc.)

6. the fact that data types can be nested (e.g. a dictionary whose key is a
string and whose value is another dictionary, etc.)

7. The "traceback" behavior for reporting errors.  This makes debugging easy.



Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list