ipython / vs \ in readline on MS Windows (and ipython help grepper)

bdb112 boyd.blackwell at gmail.com
Tue Mar 10 19:46:57 EDT 2009


More info:

import readline
 ? readline
c:\python25\lib\site-packages\ipython\rlineimpl.py
$Id: Magic.py 1096 2006-01-28 20:08:02Z vivainio $

sys.platform   'win32'
sys.getfilesystemencoding()   'mbcs'
sys.winver  '2.5'

$more /usr/local/bin/ipython
#!/bin/bash
C:/Python25/python.exe "C:\Python25\scripts\ipython" -pylab $*

(Same problem if I use the windows Start menu Ipython IPython and
pysh)



On Mar 11, 7:34 am, bdb112 <boyd.blackw... at gmail.com> wrote:
> Q1/ I run a standard python ditribution with ipython and readline
> under cygwin.  The tab filename completion works fine in the OS (bash
> shell) as expected, and tab filename completion at the ipython command
> line works, but with MS style path separators (backslash: run examples
> \test.py) which the run command itself interprets unix style
> ERROR: File `examplestest.py` not found.
>
> Also Q2/ can I "less" or "grep" the output from help(my_fun)
>
> Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
> (Intel)]
> IPython 0.8.4 -- An enhanced Interactive Python.




More information about the Python-list mailing list