摘要:
》》》》》基础rabbitMQ数据交互 1 import pika 2 connection = pika.BlockingConnection( 3 pika.ConnectionParameters('localhost') 4 ) 5 channel = connection.channel( 阅读全文
摘要:
》》》》》携程greenlet模块 1 from greenlet import greenlet 2 def test1(): 3 print(15) 4 gr1.switch() 5 print(16) 6 gr1.switch() 7 def test2(): 8 print(25) 9 gr 阅读全文