I bought an air quality sensor for my Raspberry Pi, and they've written this Python script to show how to use it: try: import struct except ...