[IPython-dev] Cell Magic names

Fernando Perez fperez.net@gmail....
Sun Jun 3 15:23:21 CDT 2012


On Sun, Jun 3, 2012 at 12:36 PM, Carl Smith <carl.input@gmail.com> wrote:
> I'd suggest trying to make the interpreter used totally explicit for each
> cell. I think notebook files should be readable as static HTML output rather
> than full of stuff from the system it was written on.

Agreed.

> Maybe have bookmarked interpreter paths so you can just do
> %%script perl
> if you ever wanted to.

I think %%script should always require an argument for the interpreter
to be used, while we can ship a few common defaults such as %%sh/bash,
%%cmd.exe, %%ruby, etc.  That way it's always explicit, but the common
cases don't need to be too verbose.

Cheers,

f


More information about the IPython-dev mailing list