Module my_autopylot.pdf39

Functions

def pdf_extract_all_tables(pdf_file_path: str = '', output_folder: str = '', output_file_name: str = '', table_with_borders=True)

Description

Extract all tables from a pdf file and save them to a text file.

Args

pdf_file_path : str
[description]. Defaults to "".
output_folder : str
[description]. Defaults to "".
output_file_name : str
[description]. Defaults to "".

Returns

[status] status (bool) : Whether the pdf file was extracted or not.

def pdf_extract_table(pdf_file_path: str = '', table_number: int = 0, page_number: int = 0)

Description

Extract a table from a pdf file and save it to a text file.

Args

pdf_file_path : str
[description]. Defaults to "".
table_number : int
[description]. Defaults to 0.
page_number : int
[description]. Defaults to 0.
output_folder : str
[description]. Defaults to "".
output_file_name : str
[description]. Defaults to "".

Returns

[status] status (bool) : Whether the pdf file was extracted or not.