摘要:
import pymysqlconn=pymysql.connect("localhost",port=3306,user="root",passwd="xsy7437",db="studentdb",charset="utf8")cursor=conn.cursor()data=[ ("李四"," 阅读全文
posted @ 2017-11-05 21:07
沧海一粒水
阅读(126)
评论(0)
推荐(0)
摘要:
produce:import pikaconnection = pika.BlockingConnection(pika.ConnectionParameters("localhost") )channel=connection.channel()channel.queue_declare(queu 阅读全文
posted @ 2017-11-05 10:38
沧海一粒水
阅读(170)
评论(0)
推荐(0)
浙公网安备 33010602011771号