title: How to read a long multiline string line by line in python
body: <p>I have a wallop of a string with many lines.  How do I read the lines one by one with a <code>for</code> clause?  Here is what I am trying to do and I get an error on the textData var referenced in the <code>for line in textData</code> line.</p>
  <pre><code>for line in textData
      print line
      lineResult = libLAPFF.parseLine(line)
  </code></pre>
  <p>The textData variable does exist, I print it before going down, but I think that the pre-compiler is kicking up the error.</p>