pptx2txt
is a Python script that allows you to extract text from PowerPoint (.pptx
) files and save it to separate text files.
To use pptx2txt
, follow these steps:
- Install the
python-pptx
module using the commandpip install python-pptx
. - Copy the
pptx2txt.py
script to the directory where the PowerPoint files to be converted are located. - Run the script using the command
python pptx2txt.py
.
The script will search for all .pptx
files in the current directory, extract the text from each slide, and save it to a text file with the same name as the PowerPoint file in the out
directory.