ipython / vs \ in readline on MS Windows (and ipython help grepper)
Tim Roberts
timr at probo.com
Thu Mar 12 00:07:24 EDT 2009
bdb112 <boyd.blackwell 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.
You have full source of ipython. You should be able to find where it does
filename completion and change the separator character. It probably uses
os.path.join -- you'll have to change it to something like '/'.join.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list