Posts by LuizGTVSilva • 85 points
5 posts
-
2
votes1
answer95
viewsQ: Consulting previous index in Python
That question is a continuation of this here As previously reported, I have a script that does a txt search for a keyword (APPLE) and if it is true, it alters another part ("00" or "01" or "02") of…
-
1
votes2
answers619
viewsQ: Modifying a Python file without losing the current content
That doubt is a continuation of this here. I have a very large TXT file (about 6GB), each line being 1,300 characters, and I am manipulating these lines, as an example, I will use these three lines…
-
3
votes2
answers293
viewsQ: Replace string chunk between 2 indexes
I have a long string inside a txt file, for example, let’s say my string is about that: strg = '123456 BANANA 00 SP' In position 14 and 15 we have the "00", I’m gonna need to replace up front The…
-
1
votes1
answer159
viewsQ: Manipulating divisible 3 and 5
I have a statement that says I have to make a looping between 4 and 24, adding the index with a total value, with some points: If the index number is multiple of 5, it must add up to 3; If the index…
-
1
votes2
answers548
viewsQ: Using two functions in the same Onclick
I have two Javascript functions that are triggered by the same button, one that is responsible for validations and one that moves the page forward. I can not join these functions and nor change the…