Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing delimiter to semicolon and removing quotation marks #10

Open
thowi84 opened this issue Oct 11, 2017 · 1 comment
Open

Changing delimiter to semicolon and removing quotation marks #10

thowi84 opened this issue Oct 11, 2017 · 1 comment

Comments

@thowi84
Copy link

thowi84 commented Oct 11, 2017

Changing the delimiter to semicolon and removing quotation marks will help to open the csv file in excel.
Can you please add an option for that? Also in comment would be very helpful - so everyone can use what he needs :)

@ghost
Copy link

ghost commented Mar 8, 2019

For whoever will find this useful - to remove quotation, change
writer = csv.DictWriter(f, header, quoting=csv.QUOTE_ALL)
to
writer = csv.DictWriter(f, header, quoting=csv.QUOTE_NONE)

As reference for available options: https://docs.python.org/3/library/csv.html

alexanderlz added a commit to alexanderlz/json-to-csv that referenced this issue Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants