DEV Community

Pizofreude
Pizofreude

Posted on • Edited on

6 1 1 1 1

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
Enter fullscreen mode Exit fullscreen mode

If python is not yet installed, get it here.

Step 2

Install "NppExec" plugin inside notepad++. (Skip this if you 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)
Enter fullscreen mode Exit fullscreen mode

Step 4

Create 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!

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay