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
asked Aug 2, 2012 at 17:29
piotr
5,8252 gold badges39 silver badges63 bronze badges
1 Answer 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
answered Aug 2, 2012 at 18:26
minrk
38.9k9 gold badges98 silver badges90 bronze badges
lang-py