from pathlib import Pathimport tkinter as tkfrom tkinter import filedialog, messagebox, ttkclass TextBatchParser: """Handles text file discovery, loading, and batch parsing operations.""" def __init__(self): # Collected Path objects: [Path, Path, ...] self.file_paths = [] # In-memory file contents: {Path: "content string"} self.loaded_data = {} def collect_fr..