Simple Encryption

Dennis Lee Bieber wlfraed at ix.netcom.com
Tue Nov 19 21:01:16 EST 2002


Thomas Heller fed this fish to the penguins on Tuesday 19 November 2002 
02:03 am:

> 
> Does this help?
> 
> Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on
> win32 Type "help", "copyright", "credits" or "license" for more
> information.
>>>> "Hello World".encode("rot_13")
> 'Uryyb Jbeyq'
>>>>

        Heh... and here I was about to suggest string.translate()

-- 
 > ============================================================== <
 >   wlfraed at ix.netcom.com  | Wulfraed  Dennis Lee Bieber  KD6MOG <
 >      wulfraed at dm.net     |       Bestiaria Support Staff       <
 > ============================================================== <
 >        Bestiaria Home Page: http://www.beastie.dm.net/         <
 >            Home Page: http://www.dm.net/~wulfraed/             <




More information about the Python-list mailing list