On Aug 23, 7:25 pm, Gandalf <[EMAIL PROTECTED]> wrote: > how can I declare a variable with another variable name? > > for example I will use PHP: > > $a= "hello"; > > $a_hello="baybay"; > > print ${'a_'.$a) //output: baybay
Doing this sort of thing in Python is very anti idiom. > > how can i do it with no Arrays using python Why would you not want to use a list? I see no reason not to. > > thanks! -- http://mail.python.org/mailman/listinfo/python-list