Hello All,
I'm attempting to create multiple dictionaries at once, each with unique
variable names. The number of dictionaries i need to create depends on the
length of a list, which was returned from a previous function.
The pseudo code for this problem would be:

returnedlist = [x,y,z]
count = 0
for i in returnedlist:
       if count < len(returnedlist):
       # then create a dictionary (beginning with variable dic) for each i
with a unique name such that
       # my unique name would be dic + count

Any ideas about this?
Greg


-- 
View this message in context: 
http://www.nabble.com/Creating-Unique-Dictionary-Variables-from-List-tf3560469.html#a9943317
Sent from the Python - python-list mailing list archive at Nabble.com.

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

Reply via email to