Re: Creating Unique Dictionary Variables from List

2007-04-12 Thread Bruno Desthuilliers
Steven D'Aprano a écrit : On Wed, 11 Apr 2007 21:03:20 +0200, Bruno Desthuilliers wrote: Greg Corradini a écrit : 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,

Creating Unique Dictionary Variables from List

2007-04-11 Thread Greg Corradini
/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

Creating Unique Dictionary Variables from List

2007-04-11 Thread Greg Corradini
://www.nabble.com/Creating-Unique-Dictionary-Variables-from-List-tf3560470.html#a9943320 Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

Creating Unique Dictionary Variables from List

2007-04-11 Thread Greg Corradini
://www.nabble.com/Creating-Unique-Dictionary-Variables-from-List-tf3560471.html#a9943321 Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

Re: Creating Unique Dictionary Variables from List

2007-04-11 Thread Bruno Desthuilliers
Greg Corradini a écrit : 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:

Re: Creating Unique Dictionary Variables from List

2007-04-11 Thread Greg Corradini
://mail.python.org/mailman/listinfo/python-list -- View this message in context: http://www.nabble.com/Creating-Unique-Dictionary-Variables-from-List-tf3560643.html#a9947284 Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

Re: Creating Unique Dictionary Variables from List

2007-04-11 Thread Bruno Desthuilliers
Greg Corradini a écrit : Bruno, Your help is much appreciated. Then give thanks to Dennis too !-) I will give this a try tomorrow morning and get back on how it works. Don't worry, it just works - and it's the idiomatic solution to the problem you described. --

Re: Creating Unique Dictionary Variables from List

2007-04-11 Thread Steven D'Aprano
On Wed, 11 Apr 2007 21:03:20 +0200, Bruno Desthuilliers wrote: Greg Corradini a écrit : 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