Template python file