In IPython's %load does the whole file contents really go into the one
next prompt? Or do you get the file one line at a time? That would
be a useful option for demos.
I have been continuing to use %load and ignoring the deprecation
warning. Your first option seems simplest, but I do not have s
In the move to IPython 0.13 that happened in Sage 5.7, I deprecated
%load and renamed the command %runfile. This was because IPython
introduced a %load command with very different semantics. In IPython,
%load makes the next prompt (or input box in the notebook) contain the
code of the file, w