Python Language Templates in python