Running scripts in Spyder using windows Command Prompt or PowerShell

旧城冷巷雨未停 提交于 2020-01-03 17:26:21

问题


I would like to know if there is a way to run python scripts in spyder-ide using windows cmd or PowerShell instead of IPython console.

Ipython sometimes works differently than if the script is run in cmd specially for plotting packages like matplotlib, etc.

I am using Spyder latest version.

Regards


回答1:


In Spyder, you can click Run > Configuration per file, which will give you plenty of options in where your Spyder-IDE-Script is launched.




回答2:


I think the option you are looking for is "Execute in External System Terminal" in the options found under the menu item of [Tools] / [Preferences] / [Run]



来源:https://stackoverflow.com/questions/52117759/running-scripts-in-spyder-using-windows-command-prompt-or-powershell

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!