# How to specify no quotes around strings in writedlm()

**URL:** <https://discourse.julialang.org/t/how-to-specify-no-quotes-around-strings-in-writedlm/1380>\
**Category:** General Usage\
**Created:** [January 10, 2017, 5:47am UTC](https://discourse.julialang.org/t/how-to-specify-no-quotes-around-strings-in-writedlm/1380 "2017-01-10T05:47:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekbrown](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ekbrown/32/7567_2.png) [@ekbrown](https://discourse.julialang.org/u/ekbrown)\
**Post date:** [January 10, 2017, 5:47am UTC](https://discourse.julialang.org/t/how-to-specify-no-quotes-around-strings-in-writedlm/1380/1 "2017-01-10T05:47:17Z")

</div>

I’m new to Julia and am trying to write an array to a .csv file on the hard drive so that the strings are not quoted. I don’t see that there is an argument in writedlm() to specify this. Here is the Python code that I’m trying to replicate:

```julia
# Python code
with open("output.csv", "w") as f:
    out = csv.writer(f, quoting = csv.QUOTE_NONE, quotechar = '', delimiter = '\n')
    out.writerow(all_output)

```

So far I’ve got this in Julia, but can’t figure out how to specify quoting options:

```julia
# Julia code, so far
writedlm("output.csv", all_output, '\n')

```

Thank you in advance for any guidance.

---

<div class="post-metadata">

**Author:** ![lstagner](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lstagner/32/448_2.png) [@lstagner](https://discourse.julialang.org/u/lstagner)\
**Post date:** [January 10, 2017, 6:12am UTC](https://discourse.julialang.org/t/how-to-specify-no-quotes-around-strings-in-writedlm/1380/2 "2017-01-10T06:12:12Z")

</div>

I am surprised this isn’t documented. I had to take a look at the source code to figure out the [available keyword options](https://github.com/JuliaLang/julia/blob/cfac61d88625e3d58b9f0dbd4d9959e640b2a9f0/base/datafmt.jl#L364) for `writedlm`. I haven’t tried it but you should try the `quotes` keyword.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 10, 2017, 6:31am UTC](https://discourse.julialang.org/t/how-to-specify-no-quotes-around-strings-in-writedlm/1380/3 "2017-01-10T06:31:22Z")

</div>

`readdlm` has extensive documentation, maybe `writedlm` should refer to that.

@ekbrown: perhaps you could consider [submitting a PR](https://github.com/JuliaLang/julia/blob/master/CONTRIBUTING.md#modifying-an-existing-docstring-in-base) about this, so that others would have an easier time finding these keywords.
