oprava #!/usr/bin/env python import RPi.GPIO as GPIO import time promena=3 GPIO.setmode(GPIO.BCM) GPIO.setup(4, GPIO.OUT) i=0 while True: time.sleep(1) try: if i == 1: GPIO.output(4, False) i=0 else: GPIO.output(4, True) i=1 except: pass ./test.py File "./test.py", line 22 except: ^ SyntaxError: invalid syntax