How to write Python code in Notepad++

If you love Notepad and want to program with it, then in the case of the Python programming language, you need to use a special plugin. There are several plugin options for Notepad++ that interpret Python:

  • nppexec;
  • Python script;
  • PyNPP.

Plugins allow you to run code directly from notepad, so there is no need to program in IDLE (programming environment). In principle, the code can be written without plugins, but it will have to be run through the command line. In any case, before programming in Python, you need to download and install it on your computer. To do this, go to the official website https://www.python.org/ and select the appropriate version. If you are just starting to learn programming, then it is better to put the version according to which your textbook is written.