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