Skip to content Skip to sidebar Skip to footer

Can I Execute Ipython Scripts?

Is there a way to execute ipython scripts? I don't mean python scripts, but with simplified syntax as it would be entered into the ipython shell

Solution 1:

sure, just run them with IPython as you with Python for a plain Python script:

$> echo '%time print "hello, world"' > script.ipy
$> ipython script.ipy
hello, world
CPU times: user 0.00 s, sys: 0.00 s, total: 0.00 s
Wall time: 0.00 s

Post a Comment for "Can I Execute Ipython Scripts?"