Untitled
unknown
plain_text
a year ago
1.2 kB
9
Indexable
from pptx import Presentation
from pptx.util import Inches
# Create a PowerPoint presentation object
prs = Presentation()
# Slide 1: Title Slide
slide_1 = prs.slides.add_slide(prs.slide_layouts[0])
title = slide_1.shapes.title
subtitle = slide_1.placeholders[1] # Ensure layout has the subtitle placeholder
title.text = "Eco-Friendly Soap Tablets: A Sustainable Hygiene Solution"
subtitle.text = "Presented by Vorium Technology Solutions (Pvt) Ltd\nYour Name & Contact Info"
# Slide 2: Introduction
slide_2 = prs.slides.add_slide(prs.slide_layouts[1])
title_2 = slide_2.shapes.title
body_2 = slide_2.shapes.placeholders[1].text_frame
title_2.text = "Why Soap Tablets?"
# Adding bullet points
body_2.text = "• Growing demand for eco-friendly products"
body_2.add_paragraph("• Reduction in plastic waste")
body_2.add_paragraph("• Convenient, cost-effective hygiene solution")
body_2.add_paragraph("• Ideal for households, hotels, and institutions")
# Continue similarly for other slides...
# Save the PowerPoint file
pptx_file = "Soap_Tablets_Sales_Pitch.pptx" # Change this path if needed
prs.save(pptx_file)
pptx_file # This returns the file path for use in other systems
Editor is loading...
Leave a Comment