[Python-checkins] CVS: python/dist/src/Lib this.py,NONE,1.1

Tim Peters tim.one@comcast.net
Fri, 08 Feb 2002 15:53:36 -0500


[AMK]
> MAL's borrowed the time machine again.  The above code
> could just be written as:
>
> print s.encode('rot-13')

Wouldn't s.decode make more sense <wink>?

[GvR]
> Yes, but that would be so obvious.  It's much more fun to let people
> guess what it does. :-)

LOL!  I understood what the original code did instantly.  I had to scratch
my head twice to figure out what that "s.encode('rot-13')" thing meant.  So
we should rot-13 encode the original code, and exec it after rot-13 decoding
it <ahem>.