Quoting Alan G <[EMAIL PROTECTED]>:

> The other waybthat you can use repr() is by using the backtick
> notation
> 
> >>> print `s`
> 'hello'
> >>>

It's worth noting that backticks are going out of fashion --- I think they are
queued for deletion in Py3000.  Better to get in the habit of just calling
repr() directly.

-- 
John.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to