Python Forum
Delimiter issue with a CSV file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Delimiter issue with a CSV file
#2
A bit more searching and testing. Line 14 should be

writer = csv.writer(result, quotechar='"', quoting=csv.QUOTE_ALL)
seems to work okay.
Reply


Messages In This Thread
Delimiter issue with a CSV file - by jehoshua - Apr-19-2022, 01:12 AM
RE: Delimiter issue with a CSV file - by jehoshua - Apr-19-2022, 01:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python Read each xlsx file and write it into csv with pipe delimiter mg24 4 1,661 Nov-09-2023, 10:56 AM
Last Post: mg24
  Context-sensitive delimiter ZZTurn 9 1,621 May-16-2023, 07:31 AM
Last Post: Gribouillis
  Read csv file with inconsistent delimiter gracenz 2 1,262 Mar-27-2023, 08:59 PM
Last Post: deanhystad
  File handling issue GiggsB 4 1,508 Mar-31-2022, 09:35 PM
Last Post: GiggsB
  How can I solve this file handling issue? GiggsB 17 3,799 Feb-14-2022, 04:37 AM
Last Post: GiggsB
  How to solve this file handling issue? GiggsB 3 1,744 Jan-10-2022, 09:36 AM
Last Post: Gribouillis
  How to create new line '/n' at each delimiter in a string? MikeAW2010 3 2,930 Dec-15-2020, 05:21 PM
Last Post: snippsat
  saving data from text file to CSV file in python having delimiter as space K11 1 2,450 Sep-11-2020, 06:28 AM
Last Post: bowlofred
  copy content of text file with three delimiter into excel sheet vinaykumar 0 2,404 Jul-12-2020, 01:27 PM
Last Post: vinaykumar
  Writing to File Issue Flash_Stang 3 2,593 Jun-05-2020, 05:14 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020