First option, which is easiest one is:
Open the Notepad++, then in the Menu go to, Run->Run..(F5)
Then type:
C:\Python26\python.exe "$(FULL_CURRENT_PATH)"
No, you can save it, to create a shortcut for it, instead of clicking run
Make sure,
You give python31 in the place of python26, if you're using python 3.1
Add -i on the off chance that you need the command line window to remain open after the script has wrapped up
Second option:
You can also use a batch script which runs the python script and then just create a shortcut for that from Notepad++.
Looking for a good course to learn python in detail? Join python online course fast to gain more knowledge.