Python 3 Script to Convert HTML5 Slides to PDF Documents Using deck2pdf & pyslide Module Full Project For Beginners

 

 

deck2pdf is batch application that will convert your html slide into PDF format keeping slide layout.

Install

deck2pdf is required PySide for Ghost.py .

$ pip install pyside
$ pyside_postinstall.py -install
$ pip install deck2pdf

Usage

Simply usage:

$ deck2pdf <slide-url> -n 10 -s html5slides
$ ls
slide.pdf

Specify slide name:

$ deck2pdf -o myslide.pdf <slide-url> -n 10 -s html5slides
$ ls
myslide.pdf

Arguments

-s SLIDE--slide SLIDE
Slide style (required)
-o OUTPUT--output OUTPUT
Output slide file path (optional)
-n NUM--num NUM
Num of slides (optional)

Leave a Reply