Joining Multiple PDF Files Using Python!!

preview_player
Показать описание
In this tutorial I will be showing you how to JOIN MULTIPLE PDFS using Python. This is a step-by-step walkthrough made to help you increase your knowledge and understanding of Python.

Order of Video:
00:00 - 00:40 = Introduction and Explanation
00:40 -06:58 = Writing the Code
06:58 - END = Conclusion

Subscribe to my YouTube channel "AnalystRising" for more amazing stuff!!

PATREON:
If you liked the tutorial then please feel free to make a donation on Patreon.
Just copy and paste the link below to go directly to my page.

Comments have been disabled as this channel has been "Made For Kids". Apologies for any inconvenience

I have more videos available on Arduinos and Excel ready for viewing!!

PLEASE NOTE:
My Python Shell may be different to yours and may be set-up in a different way.  Doing various things such as installing packages/modules may be different for you.

#Python
#PythonTutorial
#Programming
Рекомендации по теме
Комментарии
Автор

FULL SOURCE CODE BELOW:
"""
PDF FILE MERGER
"""


import PyPDF2 as p2

"""PDF FILE IMPORT"""
PDFfile1 = open("smallpdf.pdf", "rb")
pdfread1 = p2.PdfFileReader(PDFfile1)

PDFfile2 = open("pdfjoin_test2.pdf", "rb")
pdfread2 = p2.PdfFileReader(PDFfile2)

"""MERGE FUNCTION"""
PDF_Merge = p2.PdfFileMerger()
#print(new_pdf)

i=1
while i < 2:
PDF_Merge.append(pdfread2)
PDF_Merge.append(pdfread1)
i += i


AnalystRising
join shbcf.ru