Advertisement
yclee126

Print PowerPoint slide notes

Mar 14th, 2022
1,208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. # Print PowerPoint slide notes
  2. from pptx import Presentation # python-pptx
  3.  
  4. prs = Presentation('3.pptx')
  5.  
  6. for slide in prs.slides:
  7.     if slide.has_notes_slide:
  8.         notes = slide.notes_slide
  9.         print(notes.notes_text_frame.text)
  10.     print('\n=====\n')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement