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 209 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
      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
        Francisco Bomfim
        last edited by

        ocurrenc for line.jpg

        1 Reply Last reply Reply Quote 0
        • Francisco BomfimF
          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors