We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.



Returns a string containing a printable representation of an object. This is the same value yielded by string-conversions (reverse quotes). It is sometimes useful to be able to access this operation as an ordinary function. For many types, this function makes an attempt to return a string that would yield an object with the same value when passed to eval.

To make this function work on your own classes, implement the __repr__ method.