title: Remove all files in a directory
body: <p>Trying to remove all of the files in a certain directory gives me the follwing error:</p>
  
  <blockquote>
    <p>OSError: [Errno 2] No such file or directory: '/home/me/test/*'</p>
  </blockquote>
  
  <p>The code I'm running is:</p>
  
  <pre><code>import os
  test = "/home/me/test/*"
  os.remove(test)
  </code></pre>