title: Make a string output as a list in Pwm
body: <p>How can I make a string output a list? (Probably very simple, I know)</p>
  
  <p>I have looked through all of google, and <em>NONE</em> of the solutions worked.</p>
  
  <p><strong>My code:</strong> (it's a bit paraphrased)</p>
  
  <pre><code>import Pmw
  from tkinter import *
  
  root = Tk()
  
  console = Pmw.ScrolledText(...some arguments...)
  console.pack(...some arguments...)
  
  console.settext(os.listdir("."))
  
  root.mainloop()
  </code></pre>
  
  <p><strong>Outputs:</strong> <code>file1.txt file2.txt file3.txt</code> in the Pmw.ScrolledText box.</p>
  
  <p>What do I need to do to make the output look like the following?</p>
  
  <pre><code>file1.txt
  file2.txt
  file3.txt
  </code></pre>
  
  <p>My thanks to you.</p>