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: baybayDoing 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
