python run之后出现>>> runfile(‘F:xxx.py‘, wdir=‘F:xxx‘) 快速干掉它的办法

运行结果

F:\Z\Python\install\Anaconda\envs\admin\python.exe "F:\Z\Python\install\pycharm\installPYcharm\PyCharm 2020.1\plugins\python\helpers\pydev\pydevconsole.py" --mode=client --port=58318
PyDev console: starting.
>>> runfile('F:/Z/Python/project/project2/numpy/testone用arange创建数组.py', wdir='F:/Z/Python/project/project2/numpy')

如图
python run之后出现>>> runfile(‘F:xxx.py‘, wdir=‘F:xxx‘) 快速干掉它的办法_第1张图片
有些有强迫症的程序员肯定想把它干掉,哈哈!

解决办法:

1.右键点击run—》点击Edit Configurations…
python run之后出现>>> runfile(‘F:xxx.py‘, wdir=‘F:xxx‘) 快速干掉它的办法_第2张图片
2.点击这个小工具
python run之后出现>>> runfile(‘F:xxx.py‘, wdir=‘F:xxx‘) 快速干掉它的办法_第3张图片
3.取消勾选Run with Python Console—》点击Apply—》点击OK
python run之后出现>>> runfile(‘F:xxx.py‘, wdir=‘F:xxx‘) 快速干掉它的办法_第4张图片

再重新运行,问题就已经得到解决
python run之后出现>>> runfile(‘F:xxx.py‘, wdir=‘F:xxx‘) 快速干掉它的办法_第5张图片

你可能感兴趣的:(Python,python,numpy,anaconda)