Translator from syrup to python