Sorry for the beginner python question, but I cant find anywhere how to do this, so bear with me.
I am trying to extract the values from a file containing keyword followed by a value: Example:
length 95 width 332 length 1253 length 345 width 22
How do I extract all the values assosiated with the keyword "length" for example?