call the function getInnerText with argument k, on the result call the method strip, for every k in keys, append the results to field_value list.
field_value = [ getInnerText ( k ) . strip ( ) for k in keys ]