我想把Python翻译成阿尔巴尼亚语。喜欢在我的editon bcs中使用阿尔巴尼亚语,它类似于eng,而不是用英语键入命令,而是用阿尔巴尼亚语键入。每个人都能帮我吗???
如果你觉得值得,你可以使用正则表达式和dict
结构将你的母语阿尔巴尼亚语"翻译"成普通的Python代码。这样做需要将每个函数名、内置变量名等映射到其等效名称:dictionary = { 'print': 'shtyp', 'dict': 'fjalor'}
然后通过翻译器将代码作为文本文件运行。
asdf = fjalor(a=1)
shtyp asdf
成为
asdf = dict(a=1)
print asdf