import pandas as pd from pathlib import Path Reports = Path(\'path/text\').glob(\'*.txt\') for report in Reports: raw_tex