1.打开notepad++的菜单栏,点击run
2.输入cmd /k python "$(FULL_CURRENT_PATH)" & PAUSE & EXIT
3.
4.保存即可
参考:http://jingyan.baidu.com/article/d5a880eb8ce81813f047cc4b.html