- Install Notepad++ (check "set as default HTML editor" to replace Notepad in IE).
- Download Plugin Manager zip, open it, and copy the two folders into your Notepad++ program folder, e.g.
C:\Program Files\Notepad++
for the 64-bit version. - Run Notepad++, update its plugins, and install "NppExec" via Plugins, Plugin Manager.
- Enter these scripts for Python debugging:
Press F6 to create a NppExec Execute script, save as "Python 3.4":
NPP_SAVE
cd "$(FULL_CURRENT_PATH)"
env_set PYTHONIOENCODING=utf-8
C:\Python34\python.exe -u "$(FULL_CURRENT_PATH)"
To mark and link (by double-click) errors, press Shift+F6 to add active Console Output Filters, with Red set to FF
:
*"%FILE%", line %LINE%
Add style checking using PyLint (pip install pylint):
Command:
pylint.exe "$(FULL_CURRENT_PATH)" --errors-only
(switch last in case you want to&rem
it.)Filter:
%FILE%:%LINE%:%CHAR%