Community

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

    Python script as a notepad++ extension.

    Help wanted · · · – – – · · ·
    python extension help
    4
    5
    134
    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.
    • jdecrypted
      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.

      Ekopalypse PeterJones 2 Replies Last reply Reply Quote 0
      • Ekopalypse
        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 Kilborn 1 Reply Last reply Reply Quote 1
        • Alan Kilborn
          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

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