[IPython-dev] what goes wrong with %%file

Stéfan van der Walt stefan at sun.ac.za
Wed May 15 12:06:17 EDT 2013


On Tue, May 14, 2013 at 10:53 PM, MinRK <benjaminrk at gmail.com> wrote:
> The alternative argument here is that starting with `file` is more logically
> hierarchical / discoverable. `file` is the most relevant keyword, so it
> should be the start, which would make the magic more easily found,
> especially among completions. I'm torn, because both have disadvantages and
> neither is very good.

Another alternative that might appeal to folks from the unix world:

%%cat > file.txt
%%cat >> file.txt
%%cat file.txt (not implemented below)

http://nbviewer.ipython.org/5585099
https://gist.github.com/stefanv/5585120

Stéfan



More information about the IPython-dev mailing list