Apr-19-2022, 01:28 AM
A bit more searching and testing. Line 14 should be
writer = csv.writer(result, quotechar='"', quoting=csv.QUOTE_ALL)seems to work okay.