Running scripts in Spyder using windows Command Prompt or PowerShell

Viewed 10638

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

2 Answers

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

enter image description here

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]

Related