how to call method by string in python?,"getattr(a, 'print_test')()"