[IPython-user] feature request

Ryan Krauss ryanlists@gmail....
Thu May 17 10:17:13 CDT 2007


This does do what I want.  Thank you.  Is there documentation on it
somewhere?  I would like one additional customization.  I now get:

In [2]: run sym<tab>
sym_example_dev_eqs/      sym_w_spring_dev_eqs/     sym_w_spring_bode0.py
sym_analysis_example_eqs/ sym_analysis_example.py

It is pretty rare that I would run a python script from a directory
other than the one it is in, so I would like to also filter out any
folders when I have typed "run".  Can this be done through some
profile some how?

Thanks,
Ryan

On 5/17/07, Ville M. Vainio <vivainio@gmail.com> wrote:
> On 5/17/07, Ryan Krauss <ryanlists@gmail.com> wrote:
>
> > I don't know if this would be unreasonable to implement, but I have a
> > feature request.  I often have many files of very similar names but
> > with different extensions when I am working on a project.  I would
> > like IPython to filter out certain file extensions when I type run and
> > part of a file name and then do tab completion.  For example, in the
> > directory I am working in right now, if I type
>
> Do you have stock completers on?
>
> Try "ipython -p sh", if that has the functionality you desire add
> "import ipy_stock_completers" to your ipy_user_conf.py.
>
>
> --
> Ville M. Vainio - vivainio.googlepages.com
> blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
>


More information about the IPython-user mailing list