Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

Python PowerPoint

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')
Comment

PREVIOUS NEXT
Code Example
Python :: drop first column read_csv 
Python :: remove special characters from string in python 
Python :: python rps 
Python :: rock paper scissors python 
Python :: normalize numpy array 
Python :: square root python 3 
Python :: sending email with django 
Python :: python extract values that have different values in a column 
Python :: python get the intersection of two lists 
Python :: how to check if python is installed 
Python :: remove duplicates from tuple python 
Python :: convert tensor to numpy array 
Python :: how to create staff account in django 
Python :: create new column with length of old column value python 
Python :: tuple comprehension python 
Python :: mechanize python 
Python :: read dict from text 
Python :: how to create python environment 
Python :: cv2 rotate image 
Python :: declare empty var python 
Python :: django group with permission 
Python :: python advanced programs time module 
Python :: replace all characters in a string python 
Python :: get weekday from date python 
Python :: export some columns to csv pandas 
Python :: python open google 
Python :: how to make a nice login django form 
Python :: read specific columns from csv in python pandas 
Python :: python index max list 
Python :: openai gym random action 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =