def get_member(thing_obj, member_string):
mems = {x[<NUM_LIT:0>]: x[<NUM_LIT:1>] for x in inspect.getmembers(thing_obj)}<EOL>if member_string in mems:<EOL><INDENT>return mems[member_string]<EOL><DEDENT>
Get a member from an object by (string) name