摘要: # -*- coding: utf-8 -*-import MySQLdbconn = MySQLdb.connect(host='127.0.0.1',user='root',passwd='root',db='cb',port=3306,charset='utf8')cur = conn.cursor()goods = cur.execute("select goods_name from es_goods where goods_id=59")esGoods = cur.fetchmany 阅读全文
posted @ 2014-04-12 23:27 CodeBank 阅读(558) 评论(0) 推荐(0) 编辑