[IPython-user] %ed returns "\n"

Fernando Perez Fernando.Perez at colorado.edu
Fri Jan 27 18:39:29 CST 2006


Ville Vainio wrote:
> On 1/28/06, Ryan Krauss <ryanlists at gmail.com> wrote:
> 
> 
>>I do a fair amount of text processing, and use ipython to debug my
>>stuff.  I would need to know that the hiding of things like newlines
>>was going on and I would need to be able to turn that feature off.
> 
> 
> It's ok, it would be an optional extension that sets a special display
> hook; and you would get all the gory details with repr(s) anyway. Is
> the return value of %ed as repr valuable to you, specifically?

It was to the guy who was using it to later say

ed _12

to go back and edit that particular value.  If nothing was ever explicitly 
shown, the chances of someone knowing that it was there would go down.

Cheers,

f




More information about the IPython-user mailing list