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 details)

Uploaded Source

File details

Details for the file Extract Media PowerPoint-0.6.tar.gz.

File metadata

  • Download URL: Extract Media PowerPoint-0.6.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for Extract Media PowerPoint-0.6.tar.gz
Algorithm Hash digest
SHA256 0ebb912222920f9a4d240b664c09793149cc54206980be7080f78df66297df52
MD5 3093b90aa03b0b42b74c2a58a44082a1
BLAKE2b-256 d06dda176f12e2dd6f2b4bdcec83ec8fc7b5e24733ba0c24fb13feb4eb6e0c4b

See more details on using hashes here.

Supported by

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