I'd appreciate any help with the below code? I am running a code from a PAR sensor provided by the manufacturer (APOGEE) and I can't get it to work. I've really run out of ideas and am not very proficient at Python
Once I run the script I get the following error:
File "C:\Users\Barrys\AppData\Local\Temp/ipykernel_30360/628260781.py", line 59
except (IOError, struct.Error), data:
^
SyntaxError: invalid syntax