On Thu, Nov 12, 2009 at 5:29 AM, Jeff R. Allen <[email protected]> wrote:

> You are looking for the __str__ method. See
> http://docs.python.org/reference/datamodel.html#object.__str__
>
> Can't you also implement __repr__?

(bottom-posted for Dave)
-Luke
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to