Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can <a href="http://ipython.org/ipython-doc/stable/config/editors.html?highlight=editor" rel="nofollow">customize the editor IPython uses for the <code>edit</code> command</a>, and configure IPython to use Notepad++. IPython 0.11 creates a <code>.ipython/profile_default</code> folder in your user folder (in my case <code>C:/Users/zk/.ipython/profile_default</code>). To configure IPython to use Notepad++ create <code>.ipython/profile_default/ipython_config.py</code> with the following:</p> <pre><code>c = get_config() # use DOS style path, C:/PROGRA~2 on my 64-bit system points to C:/Program Files (x86) c.TerminalInteractiveShell.editor = 'C:\PROGRA~2\NOTEPA~1\NOTEPA~1.exe' # set editor for Qt Console, if you wish to use that c.IPythonWidget.editor = 'C:\PROGRA~2\NOTEPA~1\NOTEPA~1.exe' </code></pre> <p>You can then start up IPython and use the <code>edit</code> command to run Notepad++ from IPython, saving and closing Notepad++ will execute the file in IPython.</p> <p>If you don't mind installing <a href="http://www.riverbankcomputing.co.uk/software/pyqt/download" rel="nofollow">PyQt4</a> and <a href="https://github.com/zeromq/pyzmq/downloads" rel="nofollow">pyzmq</a> (and I believe <a href="http://pygments.org/download/" rel="nofollow">pygments</a>, at least for <a href="https://github.com/ipython/ipython/downloads" rel="nofollow">IPython 0.12-dev</a>), IPython's <a href="http://ipython.org/ipython-doc/dev/interactive/qtconsole.html" rel="nofollow">Qt console</a> works really well (frankly the nicest interactive environment you can get for Python). You can paste directly into IPython and it'll adjust indentation for you (shifting over padded code).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload