title: python list to newline separated value
body: <p><br>
   Im trying to get data in pylon to use in jquery autocomplete, 
   the librarary i'm using for autocomplete it requires this format</p>
  
  <pre><code>abc
  pqr
  xyz
  </code></pre>
  
  <p>and in python i have data in this format </p>
  
  <pre><code>[["abc"], ["pqr"],["xyz"]
  </code></pre>
  
  <p>How do i convert this list to the above one.</p>
  
  <p>Edit:<br>
    I trying to use these for a autocompete and i'm using pylons, in which the query to the server return list in this format </p>
  
  <pre><code>    [["abc"], ["pqr"],["xyz"]
  </code></pre>
  
  <p><a href="http://jquery.bassistance.de/autocomplete/demo/" rel="nofollow">http://jquery.bassistance.de/autocomplete/demo/</a> this library except remote call in </p>
  
  <pre><code>abc 
  pqr
  xyz
  </code></pre>
  
  <p>i tried to use </p>
  
  <pre><code>"\n".join(item[0] for item in my_list)
  </code></pre>
  
  <p>but it returns data in firebug like this. </p>
  
  <pre><code>'asd\ndad\nweq'
  </code></pre>
  
  <p>i want it to be in </p>
  
  <pre><code>abc
  pqr
  xyz
  </code></pre>
  
  <p>any help would be appreciated as i'm a PHP developer this is first time i'm trying to do code in python. </p>
  
  <p>thnaks </p>