Recently, (Half an hour ago) I downloaded Notepad++ to code in rather than IDLE.
Just to see if everything works out I created this simple program to test
def test():
print("hello")
test()
I ran it, and then a window opened up and closed instantly.
Assuming the answer to the problem I had was located here: How to Execute a Python File in Notepad ++? I followed the instructions, I tried it and it didn't work. Then I copied the file path with shift-RBM instead for what was on the page and still comes up with an error message as before:
The system cannot find the file specified.
An attempt was made to execute the below command.
-------------------------------------------------
Command: C:\Users\----\Desktop\Python
Arguments: 3.5\Python 3.5 (32-bit).Ink
"C:\Users\----\Desktop\test.py" -i
Error Code: 2
-------------------------------------------------
After this I came here and asked this question. Sorry if the answer is said elsewhere or is obvious.