标签:print imp join log ++ sleep highlight nal import
import gevent def fun(): print(‘----------‘) gevent.sleep(0) print(‘++++++++‘) def bar(): print(‘!!!!!!!!!!!‘) gevent.sleep(0) print(‘^^^^^^^^^^^^^‘) gevent.joinall([ gevent.spawn(fun), gevent.spawn(bar) ])
标签:print imp join log ++ sleep highlight nal import
原文地址:http://www.cnblogs.com/cloniu/p/6287555.html