How to Copy Design from One PowerPoint Presentation to Another in Python?

Hello!!

Do you know it’s possible to copy the design/style from one pptx presentation to another? When I say design I mean; background color, theme, font size etc.

Thanks in advanced!

@ana.blasi.ey,
Thank you for contacting support.

I am working on the question and will get back to you as soon as possible.

1 Like

@ana.blasi.ey,
Thank you for your patience.

Typically, the presentation design is created in Master and Layout slides. You can copy the design by copying the Master and Layout slides from one presentation to another. The following code line shows you how to clone the first Master slide from the presentation1 to the presentation2:

master_slide = presentation2.masters.add_clone(presentation1.masters[0])

Then you can apply the design to normal slides.

presentation2.slides[0].layout_slide.master_slide = master_slide

I hope this will help you.