The beauty of Python

Dirk Gerrits dirk at gerrits.homeip.net
Tue Jun 17 10:17:40 EDT 2003


Thomas Weholt ( PRIVAT ) wrote:
> Well, I was hoping for smaller examples, not too advanced things, more stuff
> you'll find in any programming language, stuff python has solved in a
> particulary elegant way.

Well what I found particularly elegant when I was first introduced to 
Python was it's easy iteration over sequences with the for statement. 
Compare this with a C++ for-loop loop over a range of STL iterators for 
example.

And of course I immediately loved its powerful, yet easy to use, data 
structures; especially the dictionary.

Perhaps you could work with that?

Regards,
Dirk Gerrits









More information about the Python-list mailing list