Community
    • Login

    How to install and run a script in Python Script?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    24 Posts 3 Posters 7.9k 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.
    • PeterJonesP
      PeterJones @dr ramaanand
      last edited by

      @dr-ramaanand said in How to install and run a script in Python Script?:

      I did all that was asked to be done in that FAQ. Now how to Renumber …

      The “USAGE” section in the FAQ explains how to run the script.

      dr ramaanandD 1 Reply Last reply Reply Quote 0
      • dr ramaanandD
        dr ramaanand @PeterJones
        last edited by dr ramaanand

        @PeterJones I did that and got this result:-
        RenumberingStartingWith1.png
        I think I now got to go and remove the \ before the [ bracket from my file in the user script directory
        Is there a way to edit that or should I create a new script?
        Of course, the easiest way around this is to find <sup>\ and replace it with <sup>
        Unfortunately, I am unable to find <sup>\ in either the Normal mode or the Regular Expression mode

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

          @dr-ramaanand ,

          Hopefully someone else will be able to help you. I’ve spent as much time on this as I can. Again, good luck.

          dr ramaanandD 1 Reply Last reply Reply Quote 1
          • dr ramaanandD
            dr ramaanand @PeterJones
            last edited by dr ramaanand

            @PeterJones OK, thanks a lot! “<sup>.*?\[” finds what I want it to find, that is “<sup>\[” with the Regular expression mode turned on. I then put “<sup>[” in the Replace with field and hit “Replace all”

            1 Reply Last reply Reply Quote 0
            • dr ramaanandD dr ramaanand referenced this topic on
            • dr ramaanandD dr ramaanand referenced this topic on
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors