import RPi.GPIO as GPIO
import subprocess
while True:
    GPIO.cleanup()   
    subprocess.Popen("simpletest.py", shell=True)

#    sensor = Adafruit_DHT.DHT11
#    pin = 4
#    ldr = LightSensor(17)
#         
##    while True:
#       
#
#    light = ldr.value
#    print('Light Source={0:0.1f}%'.format(light*100))
#    if (light == 0 or light < 0.15):
#        print('Bright light available')
#    elif (light > 0.15 and light < 0.7):
#        print ('Partial light available')
#    else:
#        print ('Not sufficient light')
#
time.sleep(10)
#    

b100b28f2dbe2a7e638a9388d604311c28fc631f
<mask token>

<mask token>
while True:
    GPIO.cleanup()
    subprocess.Popen('simpletest.py', shell=True)
time.sleep(10)

import RPi.GPIO as GPIO
import subprocess
while True:
    GPIO.cleanup()
    subprocess.Popen('simpletest.py', shell=True)
time.sleep(10)

import RPi.GPIO as GPIO
import subprocess
while True:
    GPIO.cleanup()   
    subprocess.Popen("simpletest.py", shell=True)

#    sensor = Adafruit_DHT.DHT11
#    pin = 4
#    ldr = LightSensor(17)
#         
##    while True:
#       
#
#    light = ldr.value
#    print('Light Source={0:0.1f}%'.format(light*100))
#    if (light == 0 or light < 0.15):
#        print('Bright light available')
#    elif (light > 0.15 and light < 0.7):
#        print ('Partial light available')
#    else:
#        print ('Not sufficient light')
#
time.sleep(10)
#    
