import PyPDF2 pdf = open("Aman.pdf", "rb") reader = PyPDF2.PdfFileReader(pdf) page = reader.getPage(0) print(page.extractText())
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter