This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
This script splits each pdf page in half vertically and merge them in a single PDF in order. | |
It asks how many pages do you want to skip to avoid splitting a book cover or a specific number of initial pages. | |
Usage: | |
python cutpdfpages.py <filename.pdf> <newfilename.pdf> | |
Inspired by: https://github.com/anadeangelo/pdf_crop |