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