Temperature measurement on Raspberry pi using Python