Skip to content

A Python tool to duplicate each page in PDF documents. Converts a 3-page PDF into a 6-page version with consecutive duplicates (1-1-2-2-3-3), useful for review and printing needs.

Notifications You must be signed in to change notification settings

guansk/pdf-page-duplicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

pdf-page-duplicator

Duplicates each page of PDF documents, creating a new file where each page appears twice consecutively. Example: a 3-page document becomes 6 pages (1-1-2-2-3-3). Useful for scenarios requiring duplicate pages within the same document.

Installation

git clone https://github.com/yourusername/pdf-page-duplicator.git
pip install PyPDF2

Usage

  1. Create input and output folders
  2. Place PDF files in input folder
  3. Run:
python main.py

Requirements

  • Python 3.6+
  • PyPDF2

License

MIT

About

A Python tool to duplicate each page in PDF documents. Converts a 3-page PDF into a 6-page version with consecutive duplicates (1-1-2-2-3-3), useful for review and printing needs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages