[Tutor] How can I convert a variable name to a string?

Dae James daedae11 at 126.com
Fri Sep 21 11:11:06 CEST 2012


How can I convert a variable name to a string ? 
For example:
testVariable = 1000;
How can I get the string "testVariable" ?
Thank you~




Dae James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120921/a4b5f290/attachment.html>


More information about the Tutor mailing list