I need read a log with this structure:
w00041c0da70021002206900691
i use this code for read but does not work
results = [line[10:13] for line in f.readlines() if line[10:13] == "7002"]
I need the number of lines that have the number 7002 in position 10 to 13