how to get name of all object in class python code example Example: python get type class name type(x).__name__