Variable Variable

Tanteauguri martin at x509.at
Sat Mar 19 04:05:11 EST 2005


Hi List, is there in python a variable variable like in PHP ($$var)?

What I want to do is something like that:

pc=["a","b","c"]

for i in pc:
	i = anyclass()

a.shutdown()
b.update()


Any Ideas?

Many Thanks, m



More information about the Python-list mailing list