使用 Windows 命令提示符或 PowerShell 在 Spyder 中运行脚本

Kha*_*oti 4 python spyder

我想知道是否有办法使用 windows cmd 或 PowerShell 而不是 IPython 控制台在 spyder-ide 中运行 python 脚本。

Ipython 有时与脚本在 cmd 中运行时的工作方式不同,该脚本专门用于绘制 matplotlib 等包。

我正在使用 Spyder 最新版本。

问候

Cut*_*7er 6

在 Spyder 中,您可以单击 Run > Configuration per file,这将为您提供许多启动 Spyder-IDE-Script 的选项。

在此处输入图片说明

  • 有什么方法可以在 Windows 10 中使用“PowerShell”而不是“cmd”? (2认同)