putting aside questions of why I would like to do that - i this possible at all?
so I want to assign a value to a variable whos name is available only as a string to me.
that variable does not exist yet in the local namespace.
from: t = "myvar"
to: myvar = 3
is this possible? something like setattr?
thanks for any insight you might have
-frank
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor