开发者

how can i run a script containing shell escape from ipython?

开发者 https://www.devze.com 2023-04-12 22:37 出处:网络
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 .

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号