In article <[EMAIL PROTECTED]>, Ali Razavi <[EMAIL PROTECTED]> wrote: >Tom Anderson wrote: >> On Mon, 13 Jun 2005, Ali Razavi wrote: >> >>> Is there any reflective facility in python that I can use to define a >>> variable with a name stored in another variable ? . . . >> Are you absolutely sure you want to do this? >> >> tom >> >Have you ever heard of meta programming ? >I guess if you had, it wouldn't seem this odd to you.
Mr. Razavi, Python has explicit idioms for metaprogramming that most experienced Pythoneers favor over name-reflection. <URL: http://blog.ianbicking.org/python-metaprogramming-and-macros.html?version=1 > is only one of several useful write-ups on the subject. -- http://mail.python.org/mailman/listinfo/python-list