Hi!
I don't know why you want to do that but actually it is possibble.

>>>for i in xrange(10000):
...    exec( 'var_%s = "var_%s"' %(i,i), locals() )

>>>var_100
'var_100'

Regards.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to