Using __str__ instead of __repr__ and replacing back %r by %s