Is it possible to create a variable with a string held by another variable
in Python? For example,
>>> var_name = input("Variable name: ")
(input: 'var')
>>> var_name = 4
>>> print(var)
(output: 4)
(Yeah, I know that if this gets typed into Python, it won't work. It just
pseudocode.)
I'm on a Windows Vista with Python 3.2.2. Thanks.
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor