how can i run a script containing shell escape from ipython?
It's so convenient to use shell escape from interactive environment in ipython, but is it possible to call python script c开发者_高级运维ontaining shell escape from ipython?
If you give the script a .ipy
extension, ipython's special syntax (like !ls
) should work when you do ipython myscript.ipy
.
精彩评论