Answers for "can raspberry pi run python script on startup"

0

raspbian run a python script at startup

// Open the terminal with Ctrl+Alt+T
// Go to this directory: /etc/hgd/autostart using the cd command.
// Make a file with a .desktop extension using: sudo nano myFile.desktop
// Inside the myFile.desktop write the following:
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=ChooseAName
Exec=/usr/bin/python3 /home/pi/myPyhthonName.py
X-GNOME-Autostart-enabled=true
Posted by: Guest on August-31-2021

Code answers related to "can raspberry pi run python script on startup"

Python Answers by Framework

Browse Popular Code Answers by Language