title: Negating a fnmatch pattern
body: <p>Consider this pattern: <code>*.py</code>. It matches all the paths ending with the <code>py</code> extension. Now, is it possible to find a pattern which matches <strong>everything else</strong>?</p>
  
  <p>I thought this would do it: <code>*[!.][!p][!y]</code>, but apparently <a href="https://docs.python.org/3.4/library/fnmatch.html" rel="nofollow"><code>fnmatch.fnmatch</code></a> always returns <code>False</code> with this.</p>
  
  <p>I'd like to avoid regexes. I know I could use them, but in this case it isn't possible.</p>