How do I do a Rot13?

Delaney, Timothy tdelaney at avaya.com
Sun Oct 27 17:46:10 EST 2002


> From: John Draper [mailto:lists at webcrunchers.com]
> 
> How do I write a function to do a "rot13" to a string?
> Do I have to do this character-by-character or is there a translate
> function which will do this for me?

You used the word yourself.

Search for "translate" in the docs (esp the index).

Tim Delaney




More information about the Python-list mailing list