#!/usr/bin/env python from subprocess import call for v in range(1, 14, 1): call(["helm" ,"delete", "--purge", "transactor-{}".format(v)])