Anyway, I have bought some stuff for my Pi's GPIO, and have decided to learn Python.
When going over a few example codes there where a few things I couldn't find answers to in the Python books I've been reading/ On the net.
The line that has been confusing me is
I figured that "import" imports a module, yet haven't been able to work out what "as"does.
Code: Select all
import RPi.GPIO as GPIO
If anyone would be so kind as to explain this to me, I would be forever grateful.
Yours truly, Ryan Mitchell.