add vim modeline to py template
resolve template.py