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