[Tutor] create 1000 000 variables

Сергій kyxaxa at gmail.com
Sat Jul 15 10:56:40 CEST 2006


 In fact I want to create a list of variables from the list of strings

Example: ['var1', 'var2', 'var3'....] - list of strings
And I need to create variables var1, var2, var3 named as strings in the
list, and:
var1 == 'var1'
var2 == 'var2'
var3 == 'var3'

How to do this using only my list and "for i in "???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060715/ea748383/attachment.html 


More information about the Tutor mailing list