Using String for new List name

Olof Bjarnason olof.bjarnason at gmail.com
Mon Sep 28 14:09:53 EDT 2009


2009/9/28 Scott <scott.freemire at gmail.com>:
> Thank you fine folks for getting back with your answers!
>
> So down the road I do dictname[line42].append("new stuff"). (or [var]
> if I'm looping through the dict)
>
> This is cool and should do the trick!
>
> -Scott Freemire
> disclosure - Ok, I'm new to *any* language. I've been teaching myself
> for about 3 months with "Learning Python, 3rd Edition" and I think
> it's going well! Of course I picked something way too complicated for
> a first try. Thanks again!

Good luck!

> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
twitter.com/olofb
olofb.wordpress.com
olofb.wordpress.com/tag/english



More information about the Python-list mailing list