Title: Signature.html
It looks like a secondary list should do the trick. I'm not adverse to keeping one. My list is maybe 30-40 items at most. When I posted originally, I was just trying to find if I had overlooked something. It appears that without a secondary list, it gets pretty tricky.

Alan Gauld wrote:

"Eric Dorsey" <[email protected]> wrote
config_names
{'start_time': '18:00:00', 'gray_scale': True, 'long': 120.0}
for i, x in config_names.items():
....     print i, x
....
start_time 18:00:00
gray_scale True
long 120.0

Thats pretty much a happy coincidence, there is no guarantee that it will work like that for all dictionaries:

d = {1:2,3:4,8:9,5:7}
for i,x in d.items(): print i,x
....     8 9
1 2
3 4
5 7

Alan G.

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor


--
           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
            
            Shhhh, quiet. I'm thinking about filling this space. 


                    Web Page: <www.speckledwithstars.net/>
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to