Using String for new List name

Scott scott.freemire at
Mon Sep 28 20:01:55 CEST 2009

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!

More information about the Python-list mailing list