task template for python