when create python file, use a template from templates