Iif To Csv ((full)) -
!TRNS TRNSID TYPE DATE ACCNT AMOUNT !SPL SPLID TRNSID ACCNT AMOUNT TRNS 1 INVOICE 12/31/2024 Accounts Receivable 100.00 SPL 101 1 Sales 100.00
[Convert] button
for line in lines: if line.startswith("!"): current_table = line[1:].split("\t")[0] # e.g., "TRNS" headers = line.split("\t")[1:] tables[current_table] = "headers": headers, "rows": [] else: if current_table: row = line.split("\t") tables[current_table]["rows"].append(row) iif to csv