PyCharm以Scientific Mode运行

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zhdl11/article/details/82661862

PyCharm 在2017.3版本之后加入了Scientific Mode,在科学计算时,可以方便的追踪变量变化等。

有时打开了scientific mode时,但文件中引入了numpy 等科学计算包时并没有被自动识别,以scientific mode运行。需要在run方法中手动设置一下。

具体步骤:
1. Settings –> Tools –> Python Scientific > Show plots in tool window 勾选
2. View 勾选 Scientific Mode
3. Run–>Edit configurations…
4. 勾选 Run with python console

猜你喜欢

转载自blog.csdn.net/zhdl11/article/details/82661862