Hi everyone! In this tutorial I'm gonna be showing you how to execute a Python script in Notepad++
In order to do that I'm gonna open the Notepad++ and I'm gonna type some Python code
Now, if I want to execute some Python code I'm gonna click here on the run command
or I can just simply press S5 on my keyboard. Here I'm gonna type the Python command, Python, and inside double quotes I'm gonna type the dollar sign and quote current cost
Now let's run this code. The problem here is that I can't see the command prompt. I can't see the terminal
So, I'm gonna type here after the Python command, bash. Alright. Let's run now this code and here you can see our command prompt
If this thing doesn't work for you, maybe you need to copy the full part of your Python which is installed on your machine
On my machine, the full part of Python is this. So, I'm gonna copy it and let's run this again
Instead of just typing Python command, I'm gonna provide the full part and I'm gonna type Python.exit
And now I'm gonna run this code again. We got the same results
Finally, you can save this command by clicking here on the space and type some name for example run Python
and we can add some keyboard shortcut for example CTRL plus S5 and press OK
And here we have this command. We can simply just run our code by clicking here on run Python
That's all in this tutorial. Don't forget to subscribe to our channel. See you in the next tutorial. Happy coding