Adriano Monteiro wrote:
> Hi folks,
> 
> Someone know how to make variables variable like in PHP?
> It's something like this:
> 
> $a = 'hi'
> $$a = 'testing'
> echo $hi
> 'testing'

You are most certainly wanting to use dictionaries.

Or, if you work with attributes of an object, use getattr.

Reinhold
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to