Created
July 10, 2022 18:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
from collections import defaultdict | |
dd = defaultdict(list) | |
with open("BKPF.txt") as bkpf: | |
dd = csv.DictReader(bkpf) | |
print(*dd.fieldnames, sep="|") | |
for e in dd: | |
print(*e.values()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment