[英]Pycharm - Run code selected in running ipython console
In Pycharm, you can have a running iPython console after running your script with the "Show command line afterwards" option. 在Pycharm中,使用“之后显示命令行”选项运行脚本后,即可运行iPython控制台。
It is also possible to run the code selected with ALT + SHIFT + E. 也可以运行用ALT + SHIFT + E选择的代码。
But it runs the code in the Python console of Pycharm, not in the iPython console opened when running a script as described above. 但是它在Pycharm的Python控制台中运行代码,而不是在如上所述运行脚本时打开的iPython控制台中运行代码。
Is it possible to run pieces of code likewise in that console were your script was run? 是否可以在运行脚本的那个控制台中同样运行代码?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.