From inside a function How can I access a method of a global object

前端 未结 0 981
轮回少年
轮回少年 2021-01-23 01:07

I have a Paho-MQTT client object declared on main context of my python script.

I need to call the connect method of this object inside a functio

相关标签:
回答
  • 消灭零回复
提交回复
热议问题