/extract-text-from-pptx

A simple tool to extract plain text from pptx file | pptx2text | pptx2txt

Primary LanguagePythonMIT LicenseMIT

Extract text from pptx

A simple tool to extract plain text from pptx file

You may rename it to pptx2txt or any other name you prefer.

Usage:

python extract_text_from_pptx.py <pptx_file_path>

or

# remember to change the "#!/usr/bin/python3" in the
# source code to the path of your python interpreter
./extract_text_from_pptx.py <pptx_file_path>

Requirements:

lxml==4.9.2
olefile==0.46
Pillow==9.5.0
python-pptx==0.6.21
XlsxWriter==3.1.0

You can run the following to install the required dependencies:

pip install -r requirements.txt