- Activate virtual environment
- Restore python dependencies by
pip install -r requirements.txt
in the shell - Three arguments are required to execute this program.
- -i input PDF file path
- -o output PDF file path
- -p page number in JSON array format e.g.
[1,3,5,7,9]
. Remember to escape square brackets if you are using zsh.
- Execute
python pdf-splitter.py -i <input-file> -o <output-file> -p <page-number-array>
-
Notifications
You must be signed in to change notification settings - Fork 0
Simple tool to extract PDF pages and save to new PDF file
License
jackysze/python-pdf-extractor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple tool to extract PDF pages and save to new PDF file
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published