But a better thing is the Sense Emulator, an interactive application providing an interface for emulating the Sense HAT hardware. The idea is that you can develop a Python application intended to interact with the Sense HAT hardware without worrying about actually having such board at hand.
The way it works is that when working with the emulator within your Python application, you create a main class SenseHat giving accesss to all sensors, the LED pixel display, and the joystick. If you follow the recommendation of importing the library with the following idiom:
from sense_emu import SenseHatthen when you wish to deploy your code on an actual Sense HAT board the only change you need to make is to that line, changing it to:
from sense_hat import SenseHatFantastic! One line change it's all you need to move from sotfware emulation to actual hardware. Everything remains the same in your code.