I am just writing some code for a Raspberry Pi robotics project. Since I don't have a Pi set up as a workstation, I am using a Google Drive notepad to do write it in, which recognises Python syntax but doesn't support running of the code (RPi.GPIO wouldn't work even if I used Python on PC anyways).
It crossed my mind that instead of writing:
import RPi.GPIO as GPIO
I could write
import RPi.GPIO as g
and save me typing it, which I'm gonna have to do about 7,000 times.
Every single tutorial I have seen uses GPIO, so is it a required thing or can I just import it as whatever I want?
On a side note, is there any way to simulate running code on a Raspi, or any way to simulate running of the GPIO pins?