更新时间:2023-10-28 08:38:22
当然,只需运行他们使用IPython和Python一起使用纯Python脚本:
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