[Tutor] Re: List Comprehensions again
Erik Price
erikprice@mac.com
Thu, 24 Jan 2002 23:52:05 -0500
On Thursday, January 24, 2002, at 01:37 PM, Tom Jenkins wrote:
> On Thu, 2002-01-24 at 11:54, kevin parks wrote:
>> I have never been able to get my head around list comprehension and
>> desperately want too. I wish that there was a *good* little 2-3 page
>> toot on list comprehensions that start from the very clearest and
>> simplest examples and built up from there with nice explanations in
>> between. The www.python.org web site is a bit terse for me and none of
(snip)
> i came to python before list comprehensions. it took me A LONG TIME to
> understand map/filter/lambda... actually i'll say i still don't really
> understand them.
>
> when i first saw list comprehensions, i thought "I have NO CLUE what
> this is doing". then i started playing. i took a map/lambda
(snip)
As a superfledgling, I have to say that I have no idea what you guys are
talking about. For the first few messages I figured it was something
that I could pick up later on. Now this thread has gone on for several
days and I'm starting to wonder if I should learn this lambda / list
comprehensions thing now before I run into the troubles that others
describe (who seem to be saying that "they wish they'd learned it a
different way" -- I want to learn it that way first so I can save the
hassle).
Where should I look for more info, or is this something that can wait
until I am more comfortable with the language? (I am just finishing
tutorials on syntax so you can see that I am really really green at
this.)
Thank you,
Erik