TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: ROBH
date: 2020-11-10 17:40:00
subject: Python script run in Pi d

I have a python script to run some leds, and I'm having a problem with it!
When I ssh into my pi zero, then sudo python3 python script.py, it
doesn't run, no leds are lit.
But if I open a terminal in the pi desktop and run the same command
line, it works and the leds light up.

Anyone know why this happens.

Thanks

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.