title: Connecting to a remote IPython instance
body: <p>I would like to run an IPython instance on one machine and connect to it (over LAN) from a different process (to run some python commands). I understand that it is possible with zmq : <a href="http://ipython.org/ipython-doc/dev/development/ipythonzmq.html">http://ipython.org/ipython-doc/dev/development/ipythonzmq.html</a> .</p>
  
  <p>However, I can not find documentation on how to do it and whether it is even possible yet.</p>
  
  <p>Any help would be appreciated!</p>
  
  <hr>
  
  <p>EDIT</p>
  
  <p>I would like to be able to connect to IPython kernel instance and send it python commands. However, this should not be done via a graphic tool (qtconsole) , but I want to be able to connect to that kernel instance from within a different python script...</p>
  
  <p>e.g.</p>
  
  <h2>external.py</h2>
  
  <pre><code>somehow_connect_to_ipython_kernel_instance
  instance.run_command("a=6")
  </code></pre>