Community
    • Login

    Python script as a notepad++ extension.

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    pythonextensionhelp
    5 Posts 4 Posters 659 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.
    • jdecryptedJ
      jdecrypted
      last edited by

      I have a python script that post-processes certain log files. I want to add this script to notepad++ as an extension or by some other means so from notepad++ I can directly post-process.

      EkopalypseE PeterJonesP 2 Replies Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @jdecrypted
        last edited by

        @jdecrypted

        The obvious answer would be: call it from the execute menu, e.g…
        cmd /c python.exe PATH_TO_PYTHON_SCRIPT.py, but I suppose it’s not that simple and you have something else in mind, is it?

        Alan KilbornA 1 Reply Last reply Reply Quote 1
        • Alan KilbornA
          Alan Kilborn @Ekopalypse
          last edited by

          @ekopalypse said in Python script as a notepad++ extension.:

          call it from the execute menu

          I think what is meant is the Run menu:

          378cf7ed-1097-4be0-b43d-51d5aae461f9-image.png

          EkopalypseE 1 Reply Last reply Reply Quote 1
          • EkopalypseE
            Ekopalypse @Alan Kilborn
            last edited by

            @alan-kilborn

            Yes, of course. This is what happens when you change something in an already translated text and then check only the changed part :-(

            1 Reply Last reply Reply Quote 1
            • PeterJonesP
              PeterJones @jdecrypted
              last edited by

              @jdecrypted ,

              See the FAQ: How do I use Notepad++ to … Convert My Text.

              Please note: that FAQ was written to explain both compiling text (which does not appear to be what you want) and converting text in-place (which does appear to be what you want). So don’t read the title including the word “Compile” and complain that it’s not answering your full question. It does, if you read the whole FAQ entry.

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