Created
July 10, 2022 18:23
-
-
Save masiarek/ef317363a05b6c16a40e2486c56e9df7 to your computer and use it in GitHub Desktop.
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