Apr-11-2021, 11:03 PM
(Apr-11-2021, 11:00 PM)bowlofred Wrote:(Apr-11-2021, 09:52 PM)lastyle Wrote: ouch my Bad, i posted to the wring Subcategory. My python version is 2.7.18
2.7 won't have f-strings. Just change the print to use another format method.
for k, v in data[0].items(): print(" => ".join((str(k), str(v))))
Both replies (approaches) work like a charm.
Thanks for a lot