Posted on 16 Aug 2022, this text provides information on Learning Aids/Tools related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that
you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice
sessions to improve your knowledge and scores.
manpreet
Best Answer
2 years ago
I have created a .py file that turns on a LED, as in the tutorials on raspberrypi.org.
It is my understanding that I should be able to open the LXTerminal in Raspbian, type the following command and have the .py file execute properly.
The .py script executes fine in the python terminal so the script is good.
It is my understanding that when I type
sudo python led_on.py
in the LXTerminal it should also work.Are my statements correct? Should this command in the LXTerminal work?
sudo python led_on.py
I have edited to provide more information: