Hello,I'd like to define variables with some specific name that has a common prefix.
Something like this:
varDic = {'red': 'a', 'green': 'b', 'blue': 'c'} for key, value in varDic.iteritems(): 'myPrefix' + key = value I know this is illegal, but there must be a trick somewhere. Thanks, Raphael -- http://mail.python.org/mailman/listinfo/python-list