Intentional Being

progress is wrecked or preserved by a single event


  • Home

  • Categorias

  • Tags

  • Arquivos

github.com/py-pdf

Postado em 07-03-2023 | Em Dotfiles | 0 comments
import os
from pypdf import PdfReader
pdf_file_path = ""
file_name = os.path.splitext(pdf_file_path)[0]
reader = PdfReader(pdf_file_path)
text = ""
for page in reader.pages:
    text += page.extract_text() + "\n"
with open(f"{file_name}.txt", "w") as f:
    f.write(text)
print(text)
Leia mais »
1 2 3 4 … 112
can't steer unless already moving

can't steer unless already moving

Say to yourself what you would be; do what you gotta do; do well.

112 Posts
10 Categorias
22 Tags
RSS
Sara Ecclesiastes
0%
can't steer unless already moving