Auto running Python program on startup
cd /home/pi/.config
mkdir autostart
Create a file called mypythonprogram.desktop
[Desktop Entry] Encoding=UTF-8 Type=Application Name=mystartup Comment= Exec=sudo python /home/pi/mystartup.py StartupNotify=false Terminal=false Hidden=false
Store this file in /home/pi/.config/autostart
Restart the Pi















