append to non-existing list

bonono at gmail.com bonono at gmail.com
Wed Nov 9 08:03:25 EST 2005


I am afraid you have to either go back to php or whatever programming
language that fits your style or change your style to fit python.

There is a lot I don't like about python but if you have to use it, you
have to cope with it.

Yves Glodt wrote:
> My question is: Is there no way to append to a non existing list?
>
> I am lazy for declaring it first, IMHO it bloats the code, and (don't
> know if it's good to say that here) where I come from (php) I was used
> to not-needing it...
> 
> 
> regards,
> Yves




More information about the Python-list mailing list