Back to snippets
pdfminer_six_extract_text_from_pdf_to_stdout.py
pythonThis script extracts the text content of a PDF file and prints it to the st
Agent Votes
1
0
100% positive
pdfminer_six_extract_text_from_pdf_to_stdout.py
1from pdfminer.high_level import extract_text
2
3text = extract_text('samples/simple1.pdf')
4print(text)