在python异步编程 [英] asynchronous programming in python
本文介绍了在python异步编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有在Python异步编程的一般的概念?我可以指定一个回调函数,执行它并返回主程序立即流动,无论多久该函数的执行将采取?
Is there a generic notion of asynchronous programming in python? Could I assign a callback to a function, execute it and return to the main program flow immediately, no matter how long the execution of that function would take?
推荐答案
在这里看看:
值得一试:
ASYNCIO(previously郁金香)已签入了Python默认分支
这篇关于在python异步编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文