[aklug] Re: Python

From: Shane R. Spencer <shane@bogomip.com>
Date: Tue Jan 19 2010 - 14:35:26 AKST

Christopher Howard wrote:
> Kugler will be happy to know that I am going through the official Python
> tutorial right now. Finally am forced to take the time to learn it,
> since I need a Python module for a work project.

Woot!

> Not too bad so far, although personally I like the C style for loops
> better than this "for x in variable" non-sense. I'm going to try to
> open-minded about the whitespace issue, which I suppose would be an
> acceptable trade off if I find out I like Python's OOP and exception
> handling interface.

print ''.join([chr(x) for x in [108,111,0x6c]])

I'm pretty sure you'll enjoy the wonky for loops once you get to play
with generators, iterators, crazyaters and such.
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Tue Jan 19 14:36:03 2010

This archive was generated by hypermail 2.1.8 : Tue Jan 19 2010 - 14:36:03 AKST