first attempt at using python for serial comms