Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Python in Notepad++

    Help wanted · · · – – – · · ·
    2
    2
    550
    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 Anigans
      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?

      Ekopalypse 1 Reply Last reply Reply Quote 1
      • Ekopalypse
        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
        Copyright © 2014 NodeBB Forums | Contributors