naming objects from string

manstey manstey at csu.edu.au
Wed Sep 20 23:59:26 EDT 2006


Hi,

If I have a string, how can I give that string name to a python object,
such as a tuple.

e.g.

a = 'hello'
b=(1234)

and then a function
name(b) = a

which would mean:
hello=(1234)

is this possible?




More information about the Python-list mailing list