strings question

Faheem Mitha faheem at email.unc.edu
Fri Mar 12 13:03:05 EST 2004


Dear People,

If I am given two strings, named foo and bar, what is the most elegant
way to create a string object whose name is the value of foo and whose
value is the value of bar? I have done some searching + looking in my
introductory textbook "Learning Python" but have not come up with an
answer yet.

Thanks.                                                      Faheem.




More information about the Python-list mailing list