pyspark print one item in each line
<p>In Pyspark, when I try to print a list, I get all the elements printed in the same line :</p>

<pre><code>&gt;&gt;&gt; wordslist = words.collect();
&gt;&gt;&gt; wordslist
[(u'crazy', 1), (u'fox', 1), (u'jumped', 1)]
</code></pre>

<p>Is there any way I could get the output printed one item per line, like this :</p>

<pre><code>&gt;&gt;&gt; wordslist
[
(u'crazy', 1),
(u'fox', 1),
(u'jumped', 1)
]
</code></pre>