Community
    • Login

    • occurrence count (5 to 20 ".01.", ".02.", ... ".99.") On each line, where the string "x" or string "#" exists

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 1 Posters 450 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.
    • Francisco BomfimF Offline
      Francisco Bomfim
      last edited by

      • Dear Ekopalypse, good morning !. Cheers!
      • I would like to deserve a friend’s help in Python code for counting occurrences on each line (text file Notepad ++ with 9,000 lines)
      (from 5 to 20 strings to search on each line, where there is the string “x” or string “#” or string “~”) (.01., .02., … .99.).
      • results in column 222 of each row

      francisco bomfim francisco.bomfim@gmail.com

      Anexos13:32 (há 15 minutos)

      para Ekopalypse/NppPythonScripts
      o texto das dezenas pode ser pego sempre na na linha 2

      the tens text can always be taken on line 2

      example: line 2 -> .03.04.05.15.27.29.
      var_01 = “.03.”
      var_02 = “.04.”
      var_03 = “.05.”
      var_04 = “.15.”
      var_05 = “.27.”
      var_06 = “.29.”

      can be up to var_20

      • thank you very much for your attention.
      • francisco.bomfim@gmail.com
      • Brazil.Rio de Janeiro

      1 Reply Last reply Reply Quote 0
      • Francisco BomfimF Offline
        Francisco Bomfim
        last edited by

        ocurrenc for line.jpg

        1 Reply Last reply Reply Quote 0
        • Francisco BomfimF Offline
          Francisco Bomfim
          last edited by

          a imagem é apenas simulada. o código ainda não existe.
          the image is only simulated. the code does not yet exist.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors