title: subprocess.call() to remove files
body: <p>I want to remove all the files and directories except for some of them by using</p>
  
  <pre><code>`subprocess.call(['rm','-r','!(new_models|creat_model.py|my_mos.tit)'])`
  </code></pre>
  
  <p>but it gives back information</p>
  
  <blockquote>
    <p>rm: cannot remove `!(new_models|creat_model.py|my_mos.tit)': No such file or directory</p>
  </blockquote>
  
  <p>how can I fix this? Thanks</p>