Posts by G Mattos • 45 points
4 posts
-
1
votes1
answer106
viewsA: Python Wordlist generation problem (2.7)
I managed to develop the proposed problem, in my git I will put the full version and also continue working on its improvement. import sys, os import itertools def clnw(modelos, palavra): for a in…
-
0
votes4
answers634
viewsA: Find and delete different characters between strings
I solved my problem using two functions I developed. The first one would take a list as a comparison parameter that would be modelos and the word that would be compared as palavra. It would return…
-
-1
votes4
answers634
viewsQ: Find and delete different characters between strings
lst1 = ["carro"] lst2 = ["carroa", "carrooao"] How do I check if the word in lst1 exists in any substring of lst2. If it exists delete the excess characters of the word that has the substring,…
-
2
votes1
answer106
viewsQ: Python Wordlist generation problem (2.7)
I’m trying to write a python script that takes n keywords and a number as input. This number will be my maximum range of string that will be written to the Wordlist. 1° Problem: As many combinations…