pythonpdf split and merge pdf using python pages to split is given in the array ###################################### to install PyPDF2 pip install PyPDF2 ####Silly problem faced:#### convert the vector to array np.asarray(n)