title: Can't rm -r directory using python subprocess.call
body: <p>Welp, I need to remove some huge temporary directories from python and I can't seem to use rm -r. I'm working thought a big dataset (on s3) I don't have the disc space to leave them around.</p>
  
  <p>The usual way I would call a command from python is </p>
  
  <pre><code>import subprocess
  subprocess.call('rm','-r','/home/nathan/emptytest')
  </code></pre>
  
  <p>That gives me</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/usr/lib/python2.7/subprocess.py", line 493, in call
      return Popen(*popenargs, **kwargs).wait()
    File "/usr/lib/python2.7/subprocess.py", line 629, in __init__
      raise TypeError("bufsize must be an integer")
  TypeError: bufsize must be an integer
  </code></pre>
  
  <p>What's this all about?</p>