You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
325 B
Python

import argparse
import os
from table_ocr.ocr_to_csv import text_files_to_csv
parser = argparse.ArgumentParser()
parser.add_argument("files", nargs="+")
def main(files):
print(text_files_to_csv(files))
if __name__ == "__main__":
args = parser.parse_args()
files = args.files
files.sort()
main(files)