Merge branch 'zdy'

This commit is contained in:
David Chang
2024-01-04 16:47:08 +08:00
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
from pptx import Presentation
if __name__ == "__main__":
path1 = "../../任务数据/LibreOffice Impress/Change_Color_Slide_Number_gold_textbox.pptx"
presentation = Presentation(path1)
for i, sl in enumerate(presentation.slides):
for j, sh in enumerate(sl.shapes):
print(i, j, sh, sh.name, sh.shape_type, sh.text)

View File

@@ -20,4 +20,5 @@ cssselect
xmltodict
openpyxl
python-docx
python-pptx
pypdf