• Login
Community
  • Login

Python in Notepad++

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 1.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Sean Anigans
    last edited by Apr 9, 2019, 6:10 PM

    Hi. I’m working with python, and would like to be able to run python in Notepad++. I know it has a python language, but when I try to run a script or command, like “print(“Hello World”)” Notepad++ opens a python terminal, and I want to run python in Notepad++ itself. Is there a way to set this up, so I can run python from within Notepad++ and not an external terminal?

    E 1 Reply Last reply Apr 9, 2019, 6:15 PM Reply Quote 1
    • E
      Ekopalypse @Sean Anigans
      last edited by Ekopalypse Apr 9, 2019, 6:16 PM Apr 9, 2019, 6:15 PM

      @Sean-Anigans

      well it depends what exactly you want to do and which python version you wanna use and how flexible it should be and …

      Npp does not have a builtin python interpreter but there are plugins which allow to execute python code
      either natively like PythonScript or with a local installation like NppExec. If you want to use Python3 then I would argue that NppExec is the way to go.
      NppExec provides a builtin console and a way to configure what needs to be executed.

      1 Reply Last reply Reply Quote 2
      2 out of 2
      • First post
        2/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors