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.
    • Sean AnigansS
      Sean Anigans
      last edited by

      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?

      EkopalypseE 1 Reply Last reply Reply Quote 1
      • EkopalypseE
        Ekopalypse @Sean Anigans
        last edited by Ekopalypse

        @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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors