On Fri, 16 Feb 2007 04:53:23 +0000, Dennis Lee Bieber wrote: > On 15 Feb 2007 11:10:53 -0800, "Andy Dingley" <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > >> >> Fortunately I don't think it's _quite_ that bad. > > Possibly not, but that description of the problem would likely have > gotten more applicable help than a debate on the merits of > reimplementing translate().
The Original Poster did say in his first post that he knew about translate and encode and he wasn't looking for those solutions: [quote] Yes, I know of .encode() and .translate(). No, I don't actually need rot13 itself, it's just a convenient substitute example for the real job-specific task. [end quote] Perhaps rot13 wasn't the best choice in the world, but how was Andy to know people would answer his post without reading it in full? Oh wait, this is Usenet... *wink* -- Steven. -- http://mail.python.org/mailman/listinfo/python-list