I needed rot47 in python which is AFAIK not available so i made small function to implement rot47
def rot47(str):
return ''.join([chr(33+((ord(c)-33+47)\
%(47*2))) if c!=" "else " " for c in str])
There is an rot13 implementation in python just encode a string using ‘rot13′ encoding
'string'.encode('rot13')