What is a delimiter?
<p>I am new to making CSV files with Python, and I am doing it to work with LDA (Latent Dirichlet Allocation). It says in a tutorial video </p>

<pre><code>with open('test.csv', 'w') as fp:
    a = csv.writer(fp,delimiter=',')
</code></pre>

<p>I know <code>fp</code> means file pointer, yet I don't know how that relates to <code>delimiter</code> or what a <code>delimiter</code> is.</p>

<p>Let's say I have a csv file with lines like:</p>

<pre><code>123ab,3748 jk89, 9ijkl
</code></pre>

<p>What are the values in this file?  With delimiter <code>,</code></p>

<pre><code>['123ab', '3748 jk89', ' 9ijkl']
</code></pre>

<p>But with delimiter <code></code> (space character)</p>

<pre><code>['123ab,3748', 'jk89,', '9ijkl']
</code></pre>

python csv