how to know the name of an object in python code example Example: how to get the name of an object in python dict([(t.__name__, t) for t in fun_list])