On Friday 19 November 2010 3:44:41 pm Leo Shklovskii wrote:
> peppy looks pretty, cool, thanks for the pointer!
>
> Super handy feature of iPython is that '%edit object_name' will take you to
> an editor of your choice directly to the file that contains the class or
> function that you're trying to edit.
>
> --
> --Leo
>


Yea, I use ed(short version of %edit) to do anything over more than a couple of 
lines in iPython. In my case ed opens Vi. ed -p takes you back to your most 
recent edit. For more information on this and other features of iPython type:
%magic 
at the prompt.



-- 
Adrian Klaver
[email protected]

Reply via email to