Python 3 Tkinter tkpdfviewer Library to Display PDF Documents inside Canvas Window Widget GUI Desktop App Full Project For Beginners



pip install tkpdfviewer





from tkPDFViewer import tkPDFViewer as pdf
from tkinter import*
root = Tk()

#create object like this.
variable1 = pdf.ShowPdf()
#Add your pdf location and width and height.
variable2 = variable1.pdf_view(root,pdf_location=r"location",width=50,height=100)

Leave a Reply