[IPython-dev] Cell Magic names
Fri Jun 1 23:56:52 CDT 2012
On Fri, Jun 1, 2012 at 9:52 PM, MinRK <firstname.lastname@example.org> wrote:
> I was just going to call it `%%shebang`, I think `%%#!` is a few too many
> special characters in a row.
I guess you could just call it '!', and it would then be
Though regarding the shell stuff, I think I'd prefer this to be a
*factory* that would return shell-like magics, so that we'd offer
%%shell -> basically wrap around os.system()
%%bash or %%sh -> explicitly call bash (only available on POSIX)
%%cmd -> explicitly call CMD.EXE (on windows)
%%powershell ? (don't know if it has a canonical shorthand).
That seems like a more natural usage pattern to me.
More information about the IPython-dev