Wednesday 8 June 2016


This page shows how to run python scripts written in notepad++ to run directly from editor.

It requires some simple steps to do that,


1) I think notepad++ is installed in your computer.If you dont have one download it from,
 https://notepad-plus-plus.org/download/v6.9.2.html

2)Now select the version of python you want to download from
 https://www.python.org/downloads/

3)Now both Notepad++ and python are installed in your computer.

4)When python is installed in your computer,
  Suppose if you have installed python3.5,then python35 folder will be created in C:/Users/username/AppData/Local/Programs/Python/Python3.5


5) Add python.exe to %PATH% variable using the following command as,
 set PATH=%PATH%;C:/Users/username/AppData/Local/Programs/Python/Python3.5/Python.exe

6)Now go to Notepad++ and write a small python script as,
 "nameOfScript.py"
with code as
 echo("Hello World")

7)To run the above script ,hit F5 in notepad++
 which will take to a RUN window,there just paste the following command ,


C:\Users\username\AppData\Local\Programs\Python\
Python35\python.exe -i "$(FULL_CURRENT_PATH)"

8)After configuring just hit RUN,now the scripts run successfully and you can see the output in python interpreter.

Happy python..:)