Answer the question
In order to leave comments, you need to log in
Python file won't open with Notepad++, what should I do?
Hello,
Please tell me:
I'm running a Python file from under Notepad++ via Run: cmd /K python "$(C:\Users\Ivan\Desktop\new_1.py)"
Result: python: can't open file 'D:\ SOFT\Notepad++\$(C:\Users\Ivan\Desktop\new_1.py)': [Errno 22] Invalid argument
That is, for some reason the path to the Notepad++ folder is added to the file path.
How to get rid of it?
Thanks in advance, I always choose Answer-solution.
Answer the question
In order to leave comments, you need to log in
Why did you add $( and ) to the filename? it does not find a directory with the name '$(C:'
remove them
yet, what python is installed on the computer, for example, cygwin implementations expect linux to specify directories not through \ but through / (and drives are directories /cygdrive/c )
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question