I am messing around with the GPIO and I am using my PI through SSH on my main desktop.
First: with my script I am using
from Adafruit_CharLCD import Adafruit_CharLCD I also tried
~/path/to/Ada... and /home/pi/... and I am getting the import error "No module name Adafruit_CharLCD" I have downloaded the adafruit package through git and when I run the test file it works, but in my own scripts which is in a seperate folder home does not work.
Second: how do I quit, or exit my script when I launch it through
sudo python script.py