#Write in terminal: sudo nano /etc/rc.local #Then type this at right before exit 0 python /home/pi/blink.py &