- Create a batch script that would run a python script and then wait for a key (so that the terminal (or, command line) doesn't disappear);
- Configure a shortcut in Notepad++ to run that script with the current file as parameter.
@ECHO OFF C:\Python26\python.exe "%1" echo. PAUSE @ECHO ONThen, in Notepad++, I went to Run → Run..., type in
C:\Python26\python.bat "$(FULL_CURRENT_PATH)", then Save... and assign a shortcut. Press that shortcut now with a python file opened and boom goes the dynamite. Enjoy :)