Skip to main content

Extract video PowerPoint

Project description

Extract Media PowerPoint

Example:

from extract import PowerPoint
'''
DEFAULT:

default_permission_video = ['mp4', 'avi', 'mpg', 'mpeg', 'wmv']
default_permission_image = ['png', 'jpeg', 'jpg', 'bmp', 'svg']
output_directory = 'temp'
'''

if __name__ == '__main__':
    ppt = PowerPoint(pptx, 'video', 'temp, 'wmv','mp4','avi')
#or
    #ppt = PowerPoint(pptx, 'video')
#or
    #ppt = PowerPoint(pptx, 'image', 'temp, 'svg','png','jpg')
#or
    #ppt = PowerPoint(pptx, 'image')
#extract all media audio,video and image
    ppt.extractAllMedia() 
    ppt.extract()

Install Requires

pip install python-pptx
              .:.               
             .::::.             
..         ..::::::''::         
::::..  .::''''':::    ''.      
':::::::'         '.  ..  '.    
 ::::::'            : '::   :   
  :::::     .        : ':'   :  
  :::::    :::       :.     .'. 
 .::::::    ':'     .' '.:::: : 
 ::::::::.         .    ::::: : 
:::::    '':.... ''      '''' : 
':::: .:'              ...'' :  
 ..::.   '.........:::::'   :   
  '':::.   '::'':'':::'   .'    
        '..  ''.....'  ..'      
           ''........''

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Extract Media PowerPoint-0.6.tar.gz (2.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page