This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pdfplumber | |
import argparse | |
import os | |
def convert_pdf_to_txt(pdf_path, txt_path, no_page_numbers): | |
""" | |
Converts a single PDF file to a TXT file with page separators. | |
Args: | |
pdf_path (str): The full path to the input PDF file. |