
i means python's data send api send data must wait subfunction run over
like this:
...
def test():
sleep(1)
res=funx()
xxx.send("this is test"+res)
sleep(1)
res=funy()
xxx.send("this is test2"+res)
run result (this is not my hope):
sleep 2 second then xxx.send("this is test"+res) and xxx.send("this is test2"+res) almost at the same time


at windos i tryed import ulrlib.request lib and Solveed this problem
but PRi not supprt this lib (dnpwwo told me) . unfortunately my products run at PRi .
is any good way to Solve this problem?
user code in onconnect function i think is Not beautiful and not good to use
subprocess lib is the only way ?
