Reorder any PDF you like and save it in your local directory.
This python script will let you rearrange/reorder PDF and save them as a pdf file. The script uses PyPDF2.
Setting up:
Create a virtual environment and activate it.
Install the requirements
$ pip install -r requirements.txt
Running the script:
$ python PDF_reorder.py
Terminal Screenshot:
The program will ask you to enter:
- File name.
- No. of Pages to reorder.
- Page no. with the location no. to move.
- filename(without '.pdf'). The pdf will be created in the same folder.