title: Python - Connect to a remote host from tkinter Script
body: <p>I am writing a tkinter script which accepts a linux command from the UI. Once the submit button is clicked,I  want to run this command that I got from the UI on a remote linux server and collect the output and display on the Tkinter window.</p>
  
  <p>Regarding the tkinter parts, i am doing fine. the problem is when I wanna execute this command on the remote server and collect the output.
  I will be running my program in a Virtual Environment of <strong>Conda</strong></p>
  
  <p>on a small research on google the most common solution I saw was the usage of fabric as shown here in this <a href="http://www.linux.org/threads/remote-commands-via-fabric-part-1-hello-linux-org.4685/" rel="nofollow">link</a>
  other solutions which I saw was the usage of plink and popen.</p>
  
  <p>But I am not clear as to where I will mention the host name and password  to connect to the remote server with any of the solutions stated above. How I will send my command and receive the output back to my tkinter flow. Is there way that I can understand if the command I executed failed because of some reason?</p>
  
  <p>Any help on this will be appreciated! thanks in advance</p>