fix python_template.py