Temperature logging Python application