[IPython-dev] Implementing 0..10 and 0...10 in ipython
Fernando.Perez at colorado.edu
Tue Feb 14 12:39:50 CST 2006
Ville Vainio wrote:
> On 2/14/06, Travis E. Oliphant <oliphant.travis at ieee.org> wrote:
>>There has been a discussion over on one of the SciPy or NumPy lists
>>about ranges and the fact that it would be nice if there were some way
>>to specify a range more easily than calling a function.
> Is syntax like:
> r = 1..100
> Fire away w/ syntax examples, it will probably turn out to be rather
> easy to extend ipython with such a custom prefilter (see
> Extensions/ext_rescapture.py for an example that installs a couple of
> prefilters based on regexp matching).
Yup. This kind of thing could be easily enabled only for the scipy profile in
the future, and we could indicate how users could pull it into their other
custom profiles as needed.
More information about the IPython-dev