title: List files in a directory having more than one space
body: <p>I have this code:</p>
  
  <pre><code>for f in os.listdir(ftpUploaddir):
      if os.path.isfile(os.path.join(ftpUploaddir,f)):
          #Filter files having .png as extension
          if f[-4:] == ".png":
              print "from directory", f
  </code></pre>
  
  <p>It does not list the files having nore than one space, e.g:</p>
  
  <pre class="lang-none prettyprint-override"><code>100002044_A   h_HD_XXX_20120229_141236.png
  </code></pre>
  
  <p>There are 3 spaces between <code>A</code> and <code>h</code>.</p>
  
  <p>I know single space will be listed but not multiple spaces</p>
  
  <p>Even <code>ls</code> will not list the files using <code>ls/*.png</code> Any help appreciated</p>