• occurrence count (5 to 20 ".01.", ".02.", ... ".99.") On each line, where the string "x" or string "#" exists
-
• 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 rowfrancisco bomfim francisco.bomfim@gmail.com
Anexos13:32 (há 15 minutos)
para Ekopalypse/NppPythonScripts
o texto das dezenas pode ser pego sempre na na linha 2the 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 -

-
a imagem é apenas simulada. o código ainda não existe.
the image is only simulated. the code does not yet exist.
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