title: Python: Execute scp, stdin for password not working
body: <p>I'm trying the following</p>
  
  <pre><code>from subprocess import Popen, PIPE
  Popen(["scp", "-B","user@url:file", "."], stdin=PIPE, shell=False).communicate(input="password")
  </code></pre>
  
  <p>But I still get the password promt, and no password is sent.
  I know I can use scp with keys, but this is not what I need.</p>
  
  <p>Any help?</p>