On Mon, 01 Mar 2010 18:07:17 -0000, Raphael Mayoraz <may...@netplus.ch>
wrote:
Thanks for your answer.
However, your solution changes the key name in the dictionary.
That's not what I want I need to do. What I want is to define a new
variable which name is define as a string: 'myPrefx' + key. In the
example
I give, I would get 3 variables:
myPrefixred = a
myPrefixgreen = b
myPrefixblue = c
I repeat my previous question: why? What problem do you think this will
solve that will not be more easily solved working with the language rather
than against it?
--
Rhodri James *-* Wildebeeste Herder to the Masses
--
http://mail.python.org/mailman/listinfo/python-list