changing a strig to a variable

Raibatak Das rd54 at cornell.edu
Tue Oct 9 11:44:11 EDT 2001


hi, 

this might be a silly question but i would greatly appreciate an answer.
is there any way to convert a string to a variable name. that is, suppose
i have x = 'var' and i want to do, say, var=13 is there an easy way to do
so?

thanks in advance.
raibatak



More information about the Python-list mailing list