On Aug 13, 1:00 pm, brad <[EMAIL PROTECTED]> wrote: > I'd like to do something like this: > > var = '123' > %s = [], %var > > So that, in the end, var is '123' and an empty list is named '123' as > well. The list assignments are created during a loop. > > Thanks, > Brad
You probably want to use a dictionary to store your lists... code like: variableDict = {} variableDict[var] = ['value1', 'value2', 'value3'] -- http://mail.python.org/mailman/listinfo/python-list