scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.35k stars 510 forks source link

your help file ,code has a bug ? #817

Open interiv opened 2 years ago

interiv commented 2 years ago

https://python-pptx.readthedocs.io/en/latest/user/quickstart.html `from pptx import Presentation

prs = Presentation() title_slide_layout = prs.slide_layouts[0] slide = prs.slides.add_slide(title_slide_layout) title = slide.shapes.title subtitle = slide.placeholders[1]

title.text = "Hello, World!" subtitle.text = "python-pptx was here!"

prs.save('test.pptx')`

why the code in pycharm ,do not has IntelliSense ?