ovberride string in python code example Example: override to string python def __str__(self): return "foo"