[IPython-user] Can I do %ed range:of:lines file_name.py?
Matthew Wilson
matt@tplus1....
Thu Oct 25 15:41:39 CDT 2007
Greetings all --
I use %ed 4:6 to open a new file that contains lines 4 through 6.
I use %ed foo.py to open my foo.py file, which most of the time is
blank.
I tried combining the two together like this:
%ed 4:6 foo.py
And foo.py gets interpreted as a number, and so I get a friendly
traceback.
Is it possible to do what I'm trying to do?
Matt
More information about the IPython-user
mailing list