Modifying a python script to output data to a file - Page 2 - Python...
pi@scoreboard:/usr/local/bin/scoreboard $ python uart-peripheral.py File "uart-peripheral.py", line 101 else: ^ SyntaxError: invalid syntax. The error message gives you a line number, which tells you where in the file that part of the code is.