Given: [{"mugshot": "nw_gradspeaker4_0608", "width": 67.0, "height": 96.0}, \ {"mugshot": "nw_gradspeaker2_0608", "width": 67.0, "height": 96.0}, \ {"freehand": "b1.developreport.0614", "width": 154.0, "height": 210.0}, \ {"graphic": "bz_cafeparadiso_0613", "width": 493.0, "height": 341.0}]
Return: {"mugshot1": "nw_gradspeaker4_0608", "mugshot1.width": 67.0, "mugshot1.height": 96.0,\ "mugshot2": "nw_gradspeaker2_0608", "mugshot2.width": 67.0, "mugshot2.height": 96.0, \ "freehand1": "b1.developreport.0614", "freehand1.width": 154.0, "freehand1.width": 210.0, \ "graphic1": "bz_cafeparadiso_0613", "graphic1.width": 493.0, "graphic1.height": 341.0} I'm trying to teach myself some OOP. Does grinding the Given above into the Return seem like a good candidate? John H. Eugene, Ore. jheasly at guardnet dot com -- http://mail.python.org/mailman/listinfo/python-list