• Login
Community
  • Login

Python script as a notepad++ extension.

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
pythonextensionhelp
5 Posts 4 Posters 710 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.
  • J
    jdecrypted
    last edited by Jun 7, 2022, 5:37 AM

    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.

    E P 2 Replies Last reply Jun 7, 2022, 8:56 AM Reply Quote 0
    • E
      Ekopalypse @jdecrypted
      last edited by Jun 7, 2022, 8:56 AM

      @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?

      A 1 Reply Last reply Jun 7, 2022, 11:57 AM Reply Quote 1
      • A
        Alan Kilborn @Ekopalypse
        last edited by Jun 7, 2022, 11:57 AM

        @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

        E 1 Reply Last reply Jun 7, 2022, 1:03 PM Reply Quote 1
        • E
          Ekopalypse @Alan Kilborn
          last edited by Jun 7, 2022, 1:03 PM

          @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
          • P
            PeterJones @jdecrypted
            last edited by Jun 7, 2022, 1:04 PM

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