May-06-2019, 09:18 PM
Try to use Cron,then can call Python file directly without using shell script.
Add:
sudo crontab -e
Add:
@reboot python /home/pi/mu_code/MyProgram/PressButtonShowMsg.py &Restart
sudo reboot