A repo to collect some Python’s best practices in the condition.
somebody may come up with :
result = eval('myclass.{}()'.format(name))
better :
result = getattr('myclass', name)()