IPython on resizeable Win32 Console
If you are on win32, you might want to use Console, an open source replacement for that inflexible old win32 terminal. Here's how.
- Install IPython using the .exe installer.
Download stable version of Console (1.5 at this time).
Create a shortcut to console.exe, right-click -> properties. Set target to e.g. C:\opt\Console\console.exe -c "/k python c:\python25\scripts\ipython.py -p sh"
you can also create a tab dedicated to Ipython (and have other dedicated to other shells or command-line app). go to edit->settings->tabs : click on the add button and fill the following fields : * title : ipython
- ico : C:\Python24\py.ico
- shell : cmd.exe /k "ipython"
- start-up dir : whatever is good for you.
note that python.exe need to be in the path
Using IPython with Version 2 of Console use the -r option for creating the shortcut, e.g. C:\opt\Console2\console.exe -r "/k python c:\python25\scripts\ipython.py -p sh"
- Some advantages of Console2 over normal console (for IPython use)
- Distinctive taskbar icon
- Can reside in system tray
- There are many other benefits, so it's well worth setting up
Example config for Console-2.00b120-Beta (you need to edit the xml file): http://vvtools.googlecode.com/svn/trunk/config/console.xml
- If you have problems with ctrl+C killing Console2 immediately, launch ipython from a normal Console2 session manually.