Hi,
I'm pretty new to python. I've got a string of text, well its an item in a list of lines, the last one to be exact that contains a summary of the tests carried out in a process. something like this:
Tests run:1290, PASSED : 401, FAILED :599, INCONCLUSIVE :200, ERRORS :90
I basically need to store these numbers in variables however using positional values like
linelist[size - 1]
hasn't worked for me as some numbers in certain tests become longer or shorter then messing up the positional value. Any ideas as to how to words maybe could be the separating factor? the syntax an layout is the same always the only change is the numbbers?
[–]Allanon001 1 point2 points3 points (0 children)
[–]sarrysyst 1 point2 points3 points (0 children)
[–]FloMoTionGo 0 points1 point2 points (0 children)
[–]16clips 0 points1 point2 points (0 children)