[IPython-dev] Cell Magic names

Jason Grout jason-sage@creativetrax....
Sat Jun 2 20:39:32 CDT 2012


On 6/2/12 7:54 PM, Min RK wrote:
> I think script is probably best, and should then have a default
> interpreter of 'sh' (or $SHELL?).

+1 for %%script

as in the slightly silly, but still cool

%%script /usr/bin/env python
print 1+2

Jason


More information about the IPython-dev mailing list