Giter VIP home page Giter VIP logo

pptx-scripts's Introduction

pptx-scripts

Some PPTX scripts written in Python for personal use.

Usage

You need python-pptx to run these scripts. If you haven't installed it already, install with pip install python-pptx

Export notes

python export_pptx_notes.py <input_presentation.pptx>

This script create a new folder named as <input_presentation>_notes in the folder which the input pptx file is located and output notes from each slide.

The folder structure after running the script will be:

├── input_presentation.pptx
├── input_presentation_notes
│   ├── Slide 1.txt
│   ├── Slide 2.txt
│   └── ...

Insert autoplay audio into PPTX

python insert_audio.py <input_presentation.pptx>

This script will scan all the mp3 files named as Slide X.mp3 (X being the index number) from the audio folder which is located at the same folder as the input pptx file, insert them into corresponding slides, make them autoplay with the slides and save as a new file named as <input_presentation>_with_audio.pptx.

The folder structure before running the script should be:

├── input_presentation.pptx
├── audio
│   ├── Slide 1.mp3
│   ├── Slide 2.mp3
│   └── ...

pptx-scripts's People

Contributors

paxprot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.