template python program