title: Python Program rsync
body: <p>I am struggling to make a program on Python (Ubuntu) "To get a file from a directly connected Linux machine without prompting for Password"</p>
  
  <p>Right now I am using this command on python but wanna put password in advance so it will not prompt me for password.</p>
  
  <pre><code>import os
  os.system("echo 'hello world'")
  os.system("rsync -rav pi@192.168.2.34:python ~/")
  </code></pre>
  
  <p>IP Address of Other Linux Machine is: <strong>192.168.2.34</strong>
  Password is: <strong>raspberry</strong>
  Hostname: <strong>pi</strong></p>