how to access the class variable by string in python?,"getattr(test, a_string)"