Of course, just run them with IPython, as you have with Python for a simple 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
source share