Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.43 KB

cllqr2b6v00wyfxnvcyav1ksi.md

File metadata and controls

50 lines (32 loc) · 1.43 KB
title seoTitle seoDescription datePublished cuid slug cover
Full Notepad++ Setup for Python
Full Notepad++ setup for Python compiling
How to fully setup Notepad++ to be used as Python compiler
Sat Dec 31 2022 12:51:48 GMT+0000 (Coordinated Universal Time)
cllqr2b6v00wyfxnvcyav1ksi
full-notepad-setup-for-python

If the Quick Notepad++ Setup for Python isn't your cup of tea, here's a full-blown setup you can try to make it world whole again as a Python dev.

Step 1

Verify Python installation on the system. Open cmd and type:

python --version

If you haven't installed Python yet, get it here.

Step 2

Install the "NppExec" plugin inside Notepad++. (Skip this if you have already done it)

Step 3

Go to "plugins" --> "NppExec" --> click on "Execute"

When the command window pops up, add the following script and save it with a new name.

NPP_SAVE
cd $(CURRENT_DIRECTORY)
python $(FILE_NAME)

Step 4

Create a menu item and hotkey to run the Python program:

Go to "plugins" --> "NppExec" --> click on "Advanced options"

Then, go to "settings" --> "shortcutmapper" and follow the instructions to create a shortcut.

Step 5

Test run any Python program and voila!