Re: Dynamic variable names

2010-02-07 Thread Steve Holden
R (Chandra) Chandrasekhar wrote: > Dear Folks, > > I have read that one should use a dictionary in python to accommodate > dynamic variable names. Yet, I am puzzled how to achieve that in my > case. Here is what I want to do: > > 1. The user inputs a number of six-digit hex

Dynamic variable names

2010-02-07 Thread R (Chandra) Chandrasekhar
Dear Folks, I have read that one should use a dictionary in python to accommodate dynamic variable names. Yet, I am puzzled how to achieve that in my case. Here is what I want to do: 1. The user inputs a number of six-digit hex numbers as a comma-separated list. These numbers represent