Search found 1 match
- Fri Dec 29, 2017 4:25 pm
- Forum: Troubleshooting
- Topic: except KeyboardInterrupt: invalid Syntax
- Replies: 2
- Views: 906
except KeyboardInterrupt: invalid Syntax
im working on python 3, I keep getting invalid syntax error, i have looked for the error in other forums but i could not solve my problem, thank you! import RPi.GPIO as GPIO import dht11 import time import datetime import csv import sys csvfile="temp.csv" # initialize GPIO GPIO.setwarnings...