Popular recipes by Daniel Lepage http://code.activestate.com/recipes/users/4160089/2009-04-22T10:05:34-07:00ActiveState Code RecipesRot13 Quine (Python)
2009-04-22T10:05:34-07:00Daniel Lepagehttp://code.activestate.com/recipes/users/4160089/http://code.activestate.com/recipes/576724-rot13-quine/
<p style="color: grey">
Python
recipe 576724
by <a href="/recipes/users/4160089/">Daniel Lepage</a>
(<a href="/recipes/tags/encode/">encode</a>, <a href="/recipes/tags/quine/">quine</a>).
</p>
<p>A Quine is a program that, when run, prints its own source code (without resorting to easy solutions like reading its code from the filesystem). The rot13 encoding maps every letter 13 places forwards in the alphabet (wrapping around the end and preserving case). Just for fun, I wrote a quine in the rot13 encoding.</p>