title: Is there any way to run a python script on remote machine without sending it?
body: <p>I can run a shell script on remote machine with ssh. For example:</p>
  
  <pre><code>ssh -l foo 192.168.0.1 "`cat my_script.sh`"
  </code></pre>
  
  <p>Now I want to run a python script without sending .py file. Is there any way?</p>