Posts by Léo B • 41 points
4 posts
-
1
votes2
answers25
viewsQ: Search for specific directories containing the entire path
Fala galera, I need help listing all directories that contain "_new", for example: /var/www/site_novo/teste already started the code to get the _new directories, it finds the same, but I need it to…
-
0
votes1
answer49
viewsQ: Problem reading file and turns it into a key and value dictionary
I have the following problem when going through a text file and I am not able to solve, I believe it is simple the solution, more need help to get to it. I have the following code: import re dic =…
-
1
votes2
answers78
viewsA: Help to parse data and turn it into a dictionary
@Lacobus thank you so much thanks to your help and @Jeanextreme002, I filtered to get the solution below that suits me. import re entrada = """default: T (add header): [10.78/15.00]…
-
0
votes2
answers78
viewsQ: Help to parse data and turn it into a dictionary
Guys I have the following problem and I would like help to turn a log file into a key and value dictionary for later use more I’m stuck on the code. I have the following data and would like help to…