title: Changing the IPython interpreter
body: <p>I'm using Python with kdb+. To do this I'm using <a href="http://code.kx.com/q/interfaces/pyq/" rel="nofollow noreferrer">PyQ</a>, which brings Python and kdb+/Q to the same process and allows both languages to operate on the same set of data/memory space.</p>
  
  <p>After some effort, I am able to load Python into the kdb+/Q process on OS X using the instructions from <a href="http://code.kx.com/wsvn/code/contrib/serpent.speak/trunk/Q/README" rel="nofollow noreferrer">here</a>, i.e. running</p>
  
  <pre><code>q python.q [-&lt;python option&gt;@ &lt;python option value&gt;]* python-script
  </code></pre>
  
  <p>This is all good, but I would like to use the above command as interpreter in IPython (Notebook for research, etc.).</p>
  
  <p>So, how do you change the interpreter in IPython? I've seen the FAQ <a href="https://github.com/ipython/ipython/wiki/Frequently-asked-questions" rel="nofollow noreferrer">here</a>, but creating a virtual environment doesn't seem like the solution. Ideally I would create a profile for IPython.</p>
  
  <p>Many thanks.</p>