ipython/ipython — Issue #1093: Add boundary options to %loadpy
Author: fperez
Created: 2011-12-03 22:25:16+00:00
State: open
Labels: prio-low, type-enhancement

We should add to loadpy the option to specify ranges of lines to load from the source:

```
loadpy -r 10-20,30,40-50 foo.py
```

should be valid. We already have tools for indicating line ranges and we support `x:y` in python-style (`x..(y-1)`) and `x-y` (`x..y`). `%recall` for example uses this.