title: fabric without fabfile - run and sudo gives error, but not local
body: <p>Hi I am using following code in a python script (not running fab from command line), at line A when I change <code>local</code> to <code>run</code> or <code>sudo</code>, it gives me error like:</p>
  
  <blockquote>
    <p>No hosts found. Please specify (single) host string for connection:</p>
  </blockquote>
  
  <p>Code is:</p>
  
  <pre><code>env.host = "XXXX"
  env.user = "XXX"
  
  def execute():
      local('uname -a')   ### A : changing this gives error ###       
  
  execute()
  </code></pre>
  
  <p>My objective is to ssh into a single <code>host</code> machine.</p>