Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- letters = {'start':'þÿ','a':'Ð','b':'Ñ','c':'Ò','d':'Ó','e':'Ô','f':'Õ','g':'Ö','h':'×','i':'Ø','j':'Ù','k':'Û',
- 'l':'Ü','m':'Þ','n':'à','o':'á','p':'â','q':'ä','r':'æ','s':'ç','t':'è','u':'é','v':'ê','w':'ã',
- 'x':'ß','y':'å','z':'Ý','Z':'Ú',' ':'\x00'+' ',
- '0': '\x00' + '0', '1': '\x00' + '1', '2': '\x00' + '2', '3': '\x00' + '3', '4': '\x00' + '4',
- '5': '\x00' + '5', '6': '\x00' + '6', '7': '\x00' + '7', '8': '\x00' + '8', '9': '\x00' + '9'}
- for key in letters.keys():
- the_string = the_string.replace(key, letters[key])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement