def clear(self):
        for p in self._txBody.p_lst[1:]:
            self._txBody.remove(p)
        p = self.paragraphs[0]
        p.clear()
Remove all paragraphs except one empty one.
dataset/ETHPy150Open scanny/python-pptx/pptx/text/text.py/TextFrame.clear