Skip to content

Instantly share code, notes, and snippets.

@keitazoumana
Created December 6, 2021 11:48
Show Gist options
  • Save keitazoumana/b77c81c16b2a91e2cf79cd558c3c8865 to your computer and use it in GitHub Desktop.
Save keitazoumana/b77c81c16b2a91e2cf79cd558c3c8865 to your computer and use it in GitHub Desktop.
from pdfminer.high_level import extract_text
text = extract_text('./data/obama-worlds-matter.pdf', 'rb')
print(text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment