Csv writer meaning of quoting - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Csv writer meaning of quoting (/thread-38349.html) |
Csv writer meaning of quoting - mg24 - Oct-01-2022 Hi Team, in below code I want understand what quoting does. What is the meaning of these, in which situation others to use it. csv.QUOTE_NONNUMERIC csv.QUOTE_ALL csv.QUOTE_MINIMAL with open(fullpath, "w", newline="") as outfile: writer = csv.writer(outfile, delimiter="|", quoting=csv.QUOTE_NONNUMERIC) RE: Csv writer meaning of quoting - ibreeden - Oct-01-2022 From the manual: Quote:csv.QUOTE_ALL RE: Csv writer meaning of quoting - Gribouillis - Oct-01-2022 This pymotw3 issue explains a lot too. |