banner ad

Run Python Scripts from NotePad++

| February 17, 2013 | 0 Comments
0 Flares 0 Flares ×

Notepad++ is a free source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License. Notepad++ is one of the best python editor.

Based on the powerful editing component Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment.

This article is directed toward Windows users. From the Run menu on the menu bar in Notepad++ click “Run…”

PyNPP

1. Copy and paste the following command into the field:

cmd /K D:\Python26\python.exe -i -c “execfile(‘$(FULL_CURRENT_PATH)’)”

2.Make sure the path to python.exe actually points to where your python.exe is
Click Save and save it whichever name you want it to be saved as.
And you’re done. Switch between any files you like press F6 then Enter and you’ve compiled it!

Download PDF
0 Flares Twitter 0 Facebook 0 Google+ 0 Pin It Share 0 LinkedIn 0 Reddit 0 StumbleUpon 0 0 Flares ×

Tags: ,

Category: NotePad++

About the Author ()

My name is John Link.I am 26 years old. My major is Computer science and technology. I am a junior programmer with Python.

Leave a Reply

Your email address will not be published. Required fields are marked *

0 Flares Twitter 0 Facebook 0 Google+ 0 Pin It Share 0 LinkedIn 0 Reddit 0 StumbleUpon 0 0 Flares ×