Small Python script to test output of a RPi