Monday, January 13, 2020

Run python program from notepad++

Open Notepad++ > Run... > Enter the following command and create a shortcut.


#cmd /k python.exe "$(CURRENT_DIRECTORY)\$(FILE_NAME)"
#cmd /k python.exe "$(FULL_CURRENT_PATH)"

Other variables that may be useful:
$(CURRENT_DIRECTORY)
$(FULL_CURRENT_PATH)
$(FILE_NAME)
$(NAME_PART)

No comments:

Post a Comment