My code is:
if any(s in attrs["show"] for s in ("Apple Mac OS","Intel Mac OS")):
the error is:
if any(s in attrs["show"] for s in ("Apple Mac OS","Intel Mac OS")):
^
SyntaxError: invalid syntax
I could run the same script successfully on one machine, then I just copied it to another machine, it returns this error, really don't know why