def read_proof_template(filename): directory = os.path.join(util.templates_root(), util.PROOF_TEMPLATES) with open(os.path.join(directory, filename)) as data: return data.read().splitlines()
def proof_template_filenames(): directory = os.path.join(util.templates_root(), util.PROOF_TEMPLATES) return os.listdir(directory)