s = 's = %s; print s %% repr(s)'; print s % repr(s)
(Put it in a file, e.g. ps.py, then run python ps.py | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python
and see what happens.)