I am working with my Raspberry Pi 2 B+ and I am using Raspbian. I have a python script located at /home/pi/Desktop/control/gpio.py
/home/pi/Desktop/control/gpio.py
When I type /hom
/hom
do like this maybe work: cd /home/pi/Desktop/control/ python gpio.py
Because gpio.py is not a executable file, you should run it by python instead