[IPython-user] Suggestion for ipython on Windows

Ville M. Vainio vivainio at gmail.com
Thu Dec 21 08:45:54 CST 2006

On 12/21/06, Pete Forman <pete.forman at westerngeco.com> wrote:

> Several places in the documentation show ipython being started from
> the command line but that does not work on Windows OOTB.  I have fixed
> this by adding a file, ipython.bat, into the Python directory where
> IPython was installed.  It consists of 1 line:
> "%~dp0python.exe" "%~dp0scripts\ipython" %*
> By way of explanation:
>   %~dp0 is the current dir of the bat file, including the trailing \
>   "" quotes are needed in case that dir has spaces
>   %* are the arguments passed in
> Tested on XP Pro SP2, Python 2.5, IPython 0.7.3.
> I suggest that this file be added into the Windows installation
> process.

Did you notice that there is now (0.7.3) ipython.py in ..\python25\scripts?

I also think that this .bat file, if deployed, should reside in
...\scripts, because of the established convention.

Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'

More information about the IPython-user mailing list