My code is as follows;
prs = Presentation(pptx_fname) title_slide_layout = prs.slide_layouts[0] for shape in title_slide_layout.shapes: print(shape.name)