How to run Python Program in Notepad++ ?
39.3 هزار بار بازدید -
3 سال پیش
-
In this tutorial session, we
In this tutorial session, we will learn to run a python program in Notepad++, also you will learn to create a shortcut key to run the python program.
Step 1: first check python is installed on the system.
open cmd and type python --version
If python not installed,
Please watch this tutorial for installation:
link- Setting up Python Development Environ... (follow steps 1 and 2 from this tutorial to install python)
Step 2: Install new plugin "NppExec" inside notepad++. (if already installed, ignore this step)
Step 3: go to plugins -- NppExec -- click on Execute
Here is the command window. we will add the following script and save it with a new name.
NPP_SAVE
cd $(CURRENT_DIRECTORY)
python $(FILE_NAME)
Step 4: Create menu item and shortcut key to run python program:
go to plugins -- NppExec -- click on Advanced options
Now Go to settings --shortcutmapper and follow my instructions to create a shortcut.
Step 5: sample python program and test run.
Step 6: Seems working! Please Like this tutorial and Subscribe to learn more.
If you found this video tutorial useful and would like to support me, you can do so by buying me a coffee using the below link!
https://buymeacoffee.com/CoolITHelp
#RunPythonNotepad++ #CoolITHelp #PythonRunNotepad++
Step 1: first check python is installed on the system.
open cmd and type python --version
If python not installed,
Please watch this tutorial for installation:
link- Setting up Python Development Environ... (follow steps 1 and 2 from this tutorial to install python)
Step 2: Install new plugin "NppExec" inside notepad++. (if already installed, ignore this step)
Step 3: go to plugins -- NppExec -- click on Execute
Here is the command window. we will add the following script and save it with a new name.
NPP_SAVE
cd $(CURRENT_DIRECTORY)
python $(FILE_NAME)
Step 4: Create menu item and shortcut key to run python program:
go to plugins -- NppExec -- click on Advanced options
Now Go to settings --shortcutmapper and follow my instructions to create a shortcut.
Step 5: sample python program and test run.
Step 6: Seems working! Please Like this tutorial and Subscribe to learn more.
If you found this video tutorial useful and would like to support me, you can do so by buying me a coffee using the below link!
https://buymeacoffee.com/CoolITHelp
#RunPythonNotepad++ #CoolITHelp #PythonRunNotepad++
3 سال پیش
در تاریخ 1400/03/26 منتشر شده
است.
39,352
بـار بازدید شده