Python Script for Raspberry Pi