Variable Variable

Tanteauguri martin at x509.at
Sat Mar 19 10:05:11 CET 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