This allows us to assign shortcut keys through Settings -> Shortcut Mapper -> Plugin commands Under 'Menu item', choose the script we just created above, and 'Add/Modify' it to the Menu items with a suitable name. Go to the menubar, Plugins -> NppExec -> Advanced Options. The above lines basically tell NppExec to "save the current Python file and run it using the version of python that first appears in the path environment variables"Ĭlick on "Save" and type in a recognizable name such as 'run_python' Type the following lines in the window that pops up: NPP_SAVE Open a Python file in Notepad++, press F6 to execute I use the following steps:ĭownload (if it does not already exist) the NppExec plugin and place the. No knowledge of an IDE is required using this method, and it offers a light, quick way to open and run Python scripts. Notepad++ works great with the NppExec plugin on Windows.
0 Comments
Leave a Reply. |