python template file