title: How save a array to text file in python?
body: <p>I have a array of this type:</p>
  
  <pre><code>xyz = [['nameserver','panel'], ['nameserver','panel']]
  </code></pre>
  
  <p>How can I save this to an abc.txt file in this format:</p>
  
  <pre><code>nameserver panel
  nameserver panel
  </code></pre>
  
  <p>I tried this using, on iterating over each row:</p>
  
  <pre><code>np.savetxt("some_i.txt",xyz[i],delimiter=',');
  </code></pre>
  
  <p>It's showing this error:</p>
  
  <pre><code>TypeError: Mismatch between array dtype ('&lt;U11') and format specifier 
  ('%.18e')
  </code></pre>