Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running scripts in Spyder using windows Command Prompt or PowerShell

Tags:

python

spyder

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

like image 451
Khalil Al Hooti Avatar asked Jan 28 '23 12:01

Khalil Al Hooti


1 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

like image 61
Cut7er Avatar answered Jan 30 '23 03:01

Cut7er