SoFunction
Updated on 2024-11-14

How to use python to convert ppt to pdf

ppt to be perfect to pdf, pictures, or need to operate under windows.

1, install python3.5.1

download address

Windows x86-64 executable installer, 64-bit installer for windows

On the installation screen, check Add Environment Variables. This eliminates the need to manually add environment variables.

2, install pip

download address

pip-10.0., unzip it and execute the following command in the root directory where it was unzipped.

python  install 

3. Install the python package

pip install PyWin32 Pillow reportlab 

4, download ppt2pdf program

git clone

5, ppt to picture, pdf

C:\PPT2PDF-master>python    
test 
Watermark completed 
Preparing to GenerateC:\PPT2PDF-master\test_tankbeta (software).pdf 
C:\PPT2PDF-master\test_tankbeta (software)\slide (photography, presentation software) 
C:\PPT2PDF-master\test_tankbeta (software)\slide (photography, presentation software) 
C:\PPT2PDF-master\test_tankbeta (software)\slide (photography, presentation software) 
C:\PPT2PDF-master\test_tankbeta (software)\slide (photography, presentation software) 
C:\PPT2PDF-master\test_tankbeta (software)\slide (photography, presentation software) 
C:\PPT2PDF-master\test_tankbeta (software)\slide (photography, presentation software) 
C:\PPT2PDF-master\test_tankbeta (software)\slide (photography, presentation software) 
C:\PPT2PDF-master\test_tankbeta (software)\slide (photography, presentation software) 
fulfillmentPDFsynthesize 

It is important to note here that the encoding of the downloaded file is utf8, do not change the encoding format of the file, or it will report an error.

This is the whole content of this article.