import inspect inspect.getmembers(var)