how to get name of a class in python? code example Example: python class name instance.__class__.__name__