Skip to content

ryan4559/MergeQAs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merge QA documents into one PDF file

This project merges multiple QA documents into one PDF file, and each QA document consists of two PDF files (Q and A respectively).

In the resulting PDF file, each QA session will be conducted on even-numbered pages, and a blank page will be inserted in the document if necessary.

The program is implemented using Python 3, and PyPDF2 and reportlab packages need to be installed to run the program.

sudo pip3 install PyPDF2 reportlab

The usage of the program is described as follows.

usage: pdf-merger.py [-h] [-Q Q_FOLDER] [-A A_FOLDER]

positional arguments:
  input_filename        the lookup table to merge PDF files

optional arguments:
  -h, --help            show this help message and exit
  -Q Q_FOLDER, --Q_Folder Q_FOLDER
                        folder to store Questions, default= PDF
  -A A_FOLDER, --A_Folder A_FOLDER
                        folder to store Answers, default= PDF
  -NP, --No_Page_Number
                        do not print page number

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages