title: How to glob only files without an extension?
body: <p>I have files like the following:</p>
  
  <pre><code>filename_000
  filename_000.sh
  filename_000.e
  filename_000.o
  </code></pre>
  
  <p>Is there a way I can specify a regex inside the glob function? Something like this:</p>
  
  <pre><code>from glob import glob
  for file in glob("filename_[0-9]{1,3}$"):
      ...
  </code></pre>
  
  <p>Any suggestions?</p>