[Tutor] assigning values to dictionary
jeremiah
jeremiah.jester at panasonic.aero
Fri Oct 3 19:29:13 CEST 2008
I have a list of dictionary values that i am looping through that upon
each iteration I would like to assign these values to a new dictionary
name.
For example...
item=0
for line in some_dict:
## some how assign dict values to new name
"new_dict_name_"+item = line
I have not tested the example code above and is displayed simply for
demonstration purposes.
Any thoughts on how to do this?
Thanks,
JJ
Disclaimer: The information contained in this transmission, including any
attachments, may contain confidential information of Panasonic Avionics
Corporation. This transmission is intended only for the use of the
addressee(s) listed above. Unauthorized review, dissemination or other use
of the information contained in this transmission is strictly prohibited.
If you have received this transmission in error or have reason to believe
you are not authorized to receive it, please notify the sender by return
email and promptly delete the transmission.
More information about the Tutor
mailing list