使用python-pptx类库出错
我的python版本为3.10,下载的python-pptx类库的版本为0.6.21
代码为:
from pptx import Presentation
file_name=r'data/page.pptx'
prs = Presentation(file_name)
for slide in prs.slide:
print(slide)
我的python版本为3.10,下载的python-pptx类库的版本为0.6.21
代码为:
from pptx import Presentation
file_name=r'data/page.pptx'
prs = Presentation(file_name)
for slide in prs.slide:
print(slide)
import collections
import collections.abc
from pptx import Presentation