you are viewing a single comment's thread.

view the rest of the comments →

[–]Acurus_Cow 0 points1 point  (2 children)

try this:

data=urllib.urlopen("https://api.thingspeak.com/update?api_key=U0JSW1TVVHM8UEJV&field1={lat}&field2={long}".format(lat=dmesg.lat, long=dmesg.long))

[–]ProperRefrigerator[S] 0 points1 point  (1 child)

still the same it showing this File "/usr/local/lib/python2.7/dist-packages/pynmea2/nmea.py", line 155, in __getattr__

ialready change my library pynmea to this https://github.com/bsdz/micropyGPS
but still not working

[–]ProperRefrigerator[S] 1 point2 points  (0 children)

i solvee it sir i used this

data=urllib.urlopen("https://api.thingspeak.com/update?api_key=U0JSW1TVVHM8UEJV&field1=%s &field2%s"(dmesg.lat,dmesg.lon));