title: Whitespace problems with python
body: <p>I'm currently using Komodo Edit in Windows 7, however, I have experienced this problem on my Mac with TextWrangler. For whatever reason I'm getting some kind of whitespace error which is a huge problem when I'm writing in Python. For example, everything appears to be properly tabbed, but Komodo is currently giving me an "Ambiguous whitespace" error</p>
  
  <pre><code>//How it appears in my editor
  def SaveList(self, directory):
      templist = []
      templistbox2 = []
      for n,i in enumerate(self.listbox2.get(0,END)): 
         templistbox2.insert(n, re.sub(r'^[0-9]*[.]',"",str(i)))
      for filename in sorted(os.listdir(directory)):
          self.templist.insert(i, filename)
          print filename #whitespace error here
  </code></pre>
  
  <p>Considering I've experienced this with two different editors on both windows and Mac, I'm wondering if there's some setting I don't know about, or if I'm doing something wrong.</p>