On Feb 6, 5:47 am, "Johny" <[EMAIL PROTECTED]> wrote:
> Where and when is good/nescessary to use `repr`  instead of `str` ?
> Can you please explain the differences
> Thanks
> LL

When you want to provide a representation of an object from which you
can create another object if you had to.
Use 'str' if you just want to print it nicely.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to