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.
General Tech 10 Answers
General Tech 7 Answers
General Tech 3 Answers
General Tech 9 Answers
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: