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

How to specify a delimiter that is a control character ("\x01")? #154

Open
TimothyBramlett opened this issue Feb 7, 2018 · 1 comment
Open

Comments

@TimothyBramlett
Copy link

It possible to specify a delimiter that is a control character like "\x01" ? It seems like the -d option only takes single characters and provides no way to specify non-standard characters.

@firecat53
Copy link
Collaborator

I played with it a bit, but I don't see an easy way to do it. I'm sure it's possible, but that's a very rare case. From the Python CSV module documentation:

Dialect.delimiter
A one-character string used to separate fields. It defaults to ','.

Happy to entertain a PR adding that feature though. Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants