Facebook
From Tinct Cat, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 175
  1.  #thingspeak
  2.         conn = urllib2.urlopen(baseURL + '&field1=%s&field2=%s' % (temp, humidity))
  3.         print conn.read()
  4.         # Closing the connection
  5.         conn.close()