[Raspberry Pi]使用Python查詢溫度 malagege included in Raspberry PI 2014-10-24 15 words One minute Contents 1 2 3 4 f = open("/sys/class/thermal/thermal_zone0/temp","r") for t in f: print "CPU temp:"+t[:2]+"."+t[2:5] f.close() Please enable JavaScript to view the comments powered by Disqus.