title: Python: Why doesn't this work? (iteration over non-sequence)
body: <p>I have a dictionary with each key containing a list as a value. And I'm trying to go over all the items in the lists, and let's say I'm trying to print all the items as I go through, I wrote: </p>
  
  <pre><code>for item in aDict: 
      for item2 in aDict[item]: 
          print item2
  </code></pre>
  
  <p>This prints out the items in the list for the first value, then it gives me an error saying "iteration over non-sequence". Why is this and how should I do this?</p>
  
  <p>Thanks in advance. </p>