Usefull python tutorial

Chris Rebert clp2 at
Wed Aug 26 14:11:25 CEST 2009

On Wed, Aug 26, 2009 at 4:44 AM, gentlestone<tibor.beck at> wrote:
> Can somebody give me an advise where I can found a really good online
> tutorial? All I found are useless. For example no tutorial I found
> explains this piece of code:
>    someList = [element for element in otherList if element is not
> None]


> or this example:
>    a = a or []

That's a bit more obscure, and I'm not entirely surprised it's not in
a tutorial:

You might want to try the official tutorial (unless it's the one
you're complaining about):

I've also heard good things about Dive Into Python:


More information about the Python-list mailing list