is there a meaningful difference between:
z='xxx'
if z in ['xxx', 'yyy']:
if 'xxx' or 'yyy' in z:
will 'in' allow a partial and split string match?
if 'xx yy' in 'xx zz yy':
I spent all day bug hunting and it boiled down to the above. Otherwise the code is line for line identical. Worst part is both scripts worked, I was just having a hell of a time consolidating them. Both other people's legacy code on legacy/partial data with limited documentation. I fixed it in the end, but these are my lingering questions.