Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3546

Raspberry Pi OS • Re: No autostart method works [solved]

$
0
0
Make the shebang line into a valid shebang.

Code:

#!/usr/bin/python3
Set your script to executable

Code:

chmod 755 /home/mushroomer/arcade/main.py
Then you can run it with

Code:

cd /home/mushroomer/arcade./main.py
or

Code:

/home/mushroomer/arcade/main.py
That will work from things that get programs running - see Thagrol's guides.

Statistics: Posted by DougieLawson — Tue Aug 19, 2025 11:12 am



Viewing all articles
Browse latest Browse all 3546

Trending Articles