[IPython-user] %ed returns "\n"
Fernando.Perez at colorado.edu
Fri Jan 27 18:56:44 CST 2006
Ville Vainio wrote:
> On 1/28/06, Fernando Perez <Fernando.Perez at colorado.edu> wrote:
>>It was to the guy who was using it to later say
> Ah, that use case.
> I would expect the display hook would be such that it would print:
> def f():
> [ output snipped; 185 more lines ]
_that_ would be nice. %whos uses the same technique to snip strings, there I
keep the beginning and end, I'd suggest doing something similar (also for
consistency across ipython). Not identical (whos truncates to a single line),
but similar enough that it 'feels right'. Whatever that is :)
More information about the IPython-user