title: Use wildcard with os.path.isfile()
body: <p>I'd like to check if there are any <code>.rar</code> files in a directory. It doesn’t need to be recursive.</p>
  <p>Using wildcard with <code>os.path.isfile()</code> was my best guess, but it doesn't work. What can I do then?</p>