Python How To Run From Notepad++
Still now there is no plugin for notepad++ to run python Code .
So we need a solution and here is it:
- Install Python on your Windows 10 computer .Then open the notpad++ as a Administrator
- Click on the Run menu then add this line
cmd /k C:\Users\DhakaWasa\AppData\Local\Programs\Python\Python37-32\python.exe "$(FULL_CURRENT_PATH)" - Here
C:\Users\DhakaWasa\AppData\Local\Programs\Python\Python37-32\is directory where my python interpreter installed and thepython.exeis the python interpreter. -
"$(FULL_CURRENT_PATH)"this return the my source code location with its name. -
cmd /kit is used for stayed open Cmd window after script finished.
Hopefully now you can configure notepad++ for your PYTHON.