the problem i am facing is deploying in google app engine, i have seen many 
forums indicating that add paho library as thrid party library and i have 
followed the alternatives provided even though in google console log i am 
getting the same import name error:paho. As you are saying that listener 
socket is not supported in google app engine environment can you provide me 
any other alternative other than what you provided.

On Wednesday, April 1, 2015 at 12:45:02 PM UTC+5:30, krishna g wrote:
>
> import paho.mqtt.client as mqtt
> print("hello")
> mqttc = mqtt.Client("python_pub")
> mqttc.connect("test.mosquitto.org", 1883)
> mqttc.publish("hello/krishna", "temp =28")
> mqttc.loop(2) #timeout = 2s
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b7253ef9-ac2e-4a14-9b08-ac2d524c3fb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to