python script  generate simple php template