columns are full with only keys of dictionary
there is a `csv.DictWriter` to actually write the keys to the file, see: https://www.delftstack.com/de/howto/python/python-dictionary-to-csv/
There is another fluke here, missing `with`-clause while having a file handle left open:
https://docs.python.org/3/reference/compound_stmts.html#the-with-statement
columns are full with only keys of dictionary
there is a
csv.DictWriter
to actually write the keys to the file, see: https://www.delftstack.com/de/howto/python/python-dictionary-to-csv/There is another fluke here, missing
with
-clause while having a file handle left open:https://docs.python.org/3/reference/compound_stmts.html#the-with-statement