Adriaan Renting wrote: > Not in my Python. > > >>>>for count in range(0, 10): > > ... value = count > ... exec("'a%s=%s' % (count, value)")
But that's not what rafi suggested. rafi: > why using the eval? > > exec ('a%s=%s' % (count, value)) See the difference? -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list