Faster way to do this...

Will McGugan news at NOwillmcguganSPAM.com
Wed Mar 2 07:02:09 EST 2005


Warren Postma wrote:
> Will McGugan wrote:
> 
>> Isn't that equivalent to simply..
>>
>> nums= range(100)
> 
> 
> I remember the day I first realized that 900 lines of some C++ program I 
> was working on could be expressed in three lines of python.  Ahh.

Lately I've found myself commenting C++ code with the equivalent Python 
code. I find it clearer and more terse than simply commenting in English!


Will



More information about the Python-list mailing list