@@ -0,0 +1,859 @@
+# -*- coding: utf-8 -*-%0A%22%22%22%0AAlobepsia %0Afor Python 3.x%0Aby Ioannis Protonotarios%0A%22%22%22%0A%0A# Add your lexicon files to the list%0Alexica = %5B'el_GR.dic','Greek_Caps_English_US.dic'%5D%0Aresults_file = 'results.txt'%0A%0Adef capitalized(word):%0A    return word.upper().translate(str.maketrans('%C2%B6%CE%86%CE%88%CE%89%CE%8A%CE%AA%CE%8C%CE%8E%CE%AB%CE%8F', '%CE%91%CE%91%CE%95%CE%97%CE%99%CE%99%CE%9F%CE%A5%CE%A5%CE%A9'))%0A    %0Adef atbash(word):%0A    alphabet = '%CE%91%CE%92%CE%93%CE%94%CE%95%CE%96%CE%97%CE%98%CE%99%CE%9A%CE%9B%CE%9C%CE%9D%CE%9E%CE%9F%CE%A0%CE%A1%CE%A3%CE%A4%CE%A5%CE%A6%CE%A7%CE%A8%CE%A9'%0A    letters = list(alphabet)%0A    alobepsia = dict(zip(letters, reversed(letters)))%0A    return ''.join(%5Balobepsia%5Bchar%5D for char in list(capitalized(word)) if char in letters%5D)%0A%0Aopen(results_file, 'w').close()%0Afor lexicon in lexica:%0A    with open(lexicon) as f:%0A        words = f.read().splitlines()%0A    for word in words:%0A        if capitalized(word) == atbash(word%5B::-1%5D):%0A            print(word)%0A            with open(results_file, 'a') as results:%0A                results.write(word+'%5Cn')%0A

Create Alobepsia.py